Exception: Rack::OAuth2::Server::InvalidRequestError
- Inherits:
-
OAuthError
- Object
- StandardError
- OAuthError
- Rack::OAuth2::Server::InvalidRequestError
- 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
Instance Method Summary collapse
-
#initialize(message) ⇒ InvalidRequestError
constructor
A new instance of InvalidRequestError.
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() super :invalid_request, || "The request has the wrong parameters." end |