Exception: FreshJwt::Store::Decorator::TokenObjectError

Inherits:
StandardError
  • Object
show all
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

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