class Rack::OAuth2::Server::InvalidRequestError

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.

Public Class Methods

new(message) click to toggle source
Calls superclass method Rack::OAuth2::Server::OAuthError::new
# File lib/rack/oauth2/server/errors.rb, line 55
def initialize(message)
  super :invalid_request, message || "The request has the wrong parameters."
end