Exception: Improvmx::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Improvmx::Error
- Defined in:
- lib/improvmx/exceptions/exceptions.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
Public: initialize a Improvmx:Error object.
Constructor Details
#initialize(message = nil, object = nil) ⇒ Error
Public: initialize a Improvmx:Error object
message - a String describing the error object - an object with details about the error
9 10 11 12 |
# File 'lib/improvmx/exceptions/exceptions.rb', line 9 def initialize( = nil, object = nil) super() @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
3 4 5 |
# File 'lib/improvmx/exceptions/exceptions.rb', line 3 def object @object end |