Exception: Mailjet::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Mailjet::Error
- Defined in:
- lib/mailjet/exception/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(message = nil, object = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, object = nil) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/mailjet/exception/errors.rb', line 8 def initialize( = nil, object = nil) super() @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
6 7 8 |
# File 'lib/mailjet/exception/errors.rb', line 6 def object @object end |