Exception: AgentsID::AuthenticationError
- Inherits:
-
AgentsIDError
- Object
- StandardError
- AgentsIDError
- AgentsID::AuthenticationError
- Defined in:
- lib/agentsid/errors.rb
Instance Attribute Summary
Attributes inherited from AgentsIDError
Instance Method Summary collapse
-
#initialize(message = "Invalid or missing API key") ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = "Invalid or missing API key") ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
15 16 17 |
# File 'lib/agentsid/errors.rb', line 15 def initialize( = "Invalid or missing API key") super(, code: "AUTH_ERROR", status_code: 401) end |