Exception: Mailgun::CommunicationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Mailgun::CommunicationError
- Defined in:
- lib/mailgun/exceptions/exceptions.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(message = nil, object = nil) ⇒ CommunicationError
constructor
A new instance of CommunicationError.
Constructor Details
#initialize(message = nil, object = nil) ⇒ CommunicationError
Returns a new instance of CommunicationError.
14 15 16 |
# File 'lib/mailgun/exceptions/exceptions.rb', line 14 def initialize(=nil, object=nil) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
12 13 14 |
# File 'lib/mailgun/exceptions/exceptions.rb', line 12 def object @object end |