Exception: OpenIDConnect::HttpError

Inherits:
Exception
  • Object
show all
Defined in:
lib/openid_connect/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message = nil, response = nil)
  super message
  @status = status
  @response = response
end

Instance Attribute Details

#responseObject

Returns the value of attribute response.



14
15
16
# File 'lib/openid_connect/exception.rb', line 14

def response
  @response
end

#statusObject

Returns the value of attribute status.



14
15
16
# File 'lib/openid_connect/exception.rb', line 14

def status
  @status
end