Exception: FreshJwt::Store::Decorator::TokenObjectError
- Inherits:
-
StandardError
- Object
- StandardError
- FreshJwt::Store::Decorator::TokenObjectError
- Defined in:
- lib/fresh_jwt/store/decorator.rb
Constant Summary collapse
- DEFAULT_MESSAGE =
'Token object has wrong structure for Tokens store'
Instance Method Summary collapse
-
#initialize(msg = DEFAULT_MESSAGE, exception_type = 'token') ⇒ TokenObjectError
constructor
A new instance of TokenObjectError.
Constructor Details
#initialize(msg = DEFAULT_MESSAGE, exception_type = 'token') ⇒ TokenObjectError
Returns a new instance of TokenObjectError.
10 11 12 13 |
# File 'lib/fresh_jwt/store/decorator.rb', line 10 def initialize(msg = DEFAULT_MESSAGE, exception_type='token') @exception_type = exception_type super(msg) end |