Exception: DistributedPress::V1::TokenExpiredError
- Inherits:
-
TokenError
- Object
- StandardError
- Error
- TokenError
- DistributedPress::V1::TokenExpiredError
- Defined in:
- lib/distributed_press/v1/errors.rb
Overview
A token expired can’t be exchanged for a new one
Instance Method Summary collapse
-
#initialize(msg = 'Token expired! Get a new token from an admin') ⇒ TokenExpiredError
constructor
A new instance of TokenExpiredError.
Constructor Details
#initialize(msg = 'Token expired! Get a new token from an admin') ⇒ TokenExpiredError
Returns a new instance of TokenExpiredError.
30 31 32 |
# File 'lib/distributed_press/v1/errors.rb', line 30 def initialize(msg = 'Token expired! Get a new token from an admin') super end |