Exception: Mailjet::Unauthorized
- Inherits:
-
CommunicationError
- Object
- StandardError
- Error
- CommunicationError
- Mailjet::Unauthorized
- Defined in:
- lib/mailjet/exception/errors.rb
Constant Summary collapse
- CODE =
401
Constants inherited from CommunicationError
Instance Attribute Summary
Attributes inherited from CommunicationError
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(error_message, response) ⇒ Unauthorized
constructor
A new instance of Unauthorized.
Constructor Details
#initialize(error_message, response) ⇒ Unauthorized
Returns a new instance of Unauthorized.
85 86 87 88 |
# File 'lib/mailjet/exception/errors.rb', line 85 def initialize(, response) = + ' - Invalid Domain or API key' super(, response) end |