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