Exception: Mailgun::BadRequest

Inherits:
CommunicationError show all
Defined in:
lib/mailgun/exceptions/exceptions.rb

Overview

Public: Class for managing bad request 400 errors Inherits from Mailgun::CommunicationError

Constant Summary collapse

CODE =
400

Constants inherited from CommunicationError

CommunicationError::FORBIDDEN, CommunicationError::NOCODE

Instance Attribute Summary

Attributes inherited from CommunicationError

#status

Attributes inherited from Error

#object

Instance Method Summary collapse

Constructor Details

#initialize(error_message, response) ⇒ BadRequest

Returns a new instance of BadRequest.



91
92
93
# File 'lib/mailgun/exceptions/exceptions.rb', line 91

def initialize(error_message, response)
  super(error_message, response)
end