Exception: Rack::OAuth2::Server::InvalidRequestError

Inherits:
OAuthError
  • Object
show all
Defined in:
lib/rack/oauth2/server/errors.rb

Overview

Invalid_request, the request is missing a required parameter, includes an unsupported parameter or parameter value, repeats the same parameter, uses more than one method for including an access token, or is otherwise malformed.

Instance Attribute Summary

Attributes inherited from OAuthError

#code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidRequestError

Returns a new instance of InvalidRequestError.



55
56
57
# File 'lib/rack/oauth2/server/errors.rb', line 55

def initialize(message)
  super :invalid_request, message || "The request has the wrong parameters."
end