Exception: AgentsID::TokenExpiredError
- Inherits:
-
AgentsIDError
- Object
- StandardError
- AgentsIDError
- AgentsID::TokenExpiredError
- Defined in:
- lib/agentsid/errors.rb
Instance Attribute Summary
Attributes inherited from AgentsIDError
Instance Method Summary collapse
-
#initialize ⇒ TokenExpiredError
constructor
A new instance of TokenExpiredError.
Constructor Details
#initialize ⇒ TokenExpiredError
Returns a new instance of TokenExpiredError.
35 36 37 |
# File 'lib/agentsid/errors.rb', line 35 def initialize super("Agent token has expired", code: "TOKEN_EXPIRED", status_code: 401) end |