Exception: Rack::OAuth2::Server::Abstract::BadRequest

Inherits:
Error
  • Object
show all
Defined in:
lib/rack/oauth2/server/abstract/error.rb

Direct Known Subclasses

Rack::OAuth2::Server::Authorize::BadRequest, Resource::BadRequest, Token::BadRequest

Instance Attribute Summary

Attributes inherited from Error

#description, #error, #realm, #status, #uri

Instance Method Summary (collapse)

Methods inherited from Error

#finish, #protocol_params

Constructor Details

- (BadRequest) initialize(error = :bad_request, description = nil, options = {})

Returns a new instance of BadRequest



38
39
40
# File 'lib/rack/oauth2/server/abstract/error.rb', line 38

def initialize(error = :bad_request, description = nil, options = {})
  super 400, error, description, options
end