Exception: OpenIDConnect::HttpError
- Defined in:
- lib/openid_connect/exception.rb
Direct Known Subclasses
BadRequest, Client::Registrar::RegistrationFailed, Forbidden, Unauthorized
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, message = nil, response = nil) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(status, message = nil, response = nil) ⇒ HttpError
Returns a new instance of HttpError.
15 16 17 18 19 |
# File 'lib/openid_connect/exception.rb', line 15 def initialize(status, = nil, response = nil) super @status = status @response = response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
14 15 16 |
# File 'lib/openid_connect/exception.rb', line 14 def response @response end |
#status ⇒ Object
Returns the value of attribute status.
14 15 16 |
# File 'lib/openid_connect/exception.rb', line 14 def status @status end |