Exception: Authentic::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Authentic::RequestError
- Defined in:
- lib/authentic/error.rb
Overview
Public: Represents a request error when requesting OIDC config or JWKs from authorization server.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(msg, code) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(msg, code) ⇒ RequestError
Returns a new instance of RequestError.
8 9 10 11 |
# File 'lib/authentic/error.rb', line 8 def initialize(msg, code) @code = code super(msg) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
7 8 9 |
# File 'lib/authentic/error.rb', line 7 def code @code end |