Exception: Deckle::AuthenticationError
- Defined in:
- lib/deckle/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Invalid API key") ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = "Invalid API key") ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
16 17 18 |
# File 'lib/deckle/errors.rb', line 16 def initialize( = "Invalid API key") super(, status_code: 401, code: "UNAUTHORIZED") end |