Exception: Darrrr::CountersignedTokenError
- Inherits:
-
DelegatedRecoveryError
- Object
- StandardError
- DelegatedRecoveryError
- Darrrr::CountersignedTokenError
- Defined in:
- lib/darrrr.rb
Overview
Represents an invalid countersigned recovery token.
(e.g. invalid signature, invalid nested token, unregistered provider, stale tokens)
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(message, key) ⇒ CountersignedTokenError
constructor
A new instance of CountersignedTokenError.
Constructor Details
#initialize(message, key) ⇒ CountersignedTokenError
Returns a new instance of CountersignedTokenError.
42 43 44 45 |
# File 'lib/darrrr.rb', line 42 def initialize(, key) super() @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
41 42 43 |
# File 'lib/darrrr.rb', line 41 def key @key end |