class Doorkeeper::OAuth::ErrorResponse

def body

def body
  {
    error: name,
    error_description: description,
    state: state,
  }.reject { |_, v| v.blank? }
end