Exception: Darrrr::CountersignedTokenError

Inherits:
DelegatedRecoveryError show all
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

Instance Method Summary collapse

Constructor Details

#initialize(message, key) ⇒ CountersignedTokenError

Returns a new instance of CountersignedTokenError.



42
43
44
45
# File 'lib/darrrr.rb', line 42

def initialize(message, key)
  super(message)
  @key = key
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



41
42
43
# File 'lib/darrrr.rb', line 41

def key
  @key
end