Exception: DistributedPress::V1::TokenExpiredError

Inherits:
TokenError
  • Object
show all
Defined in:
lib/distributed_press/v1/errors.rb

Overview

A token expired can’t be exchanged for a new one

Instance Method Summary collapse

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