Exception: Enconvert::AuthenticationError
- Defined in:
- lib/enconvert/errors.rb
Overview
HTTP 401 or 403 — invalid or missing API key.
Instance Attribute Summary
Attributes inherited from APIError
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.
22 23 24 |
# File 'lib/enconvert/errors.rb', line 22 def initialize( = "Invalid or missing API key") super(401, ) end |