Exception: JWT::Authenticator::Error
- Inherits:
-
StandardError
- Object
- StandardError
- JWT::Authenticator::Error
- Defined in:
- lib/jwt-authenticator.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, code = nil) ⇒ Error
Returns a new instance of Error.
73 74 75 76 |
# File 'lib/jwt-authenticator.rb', line 73 def initialize(, code = nil) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
71 72 73 |
# File 'lib/jwt-authenticator.rb', line 71 def code @code end |