Exception: AgentsID::TokenExpiredError

Inherits:
AgentsIDError show all
Defined in:
lib/agentsid/errors.rb

Instance Attribute Summary

Attributes inherited from AgentsIDError

#code, #status_code

Instance Method Summary collapse

Constructor Details

#initializeTokenExpiredError

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