Exception: OpenAgent::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenAgent::ResponseError
- Defined in:
- lib/openagent/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_object ⇒ Object
readonly
Returns the value of attribute error_object.
Instance Method Summary collapse
-
#initialize(msg, error_object = nil) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(msg, error_object = nil) ⇒ ResponseError
Returns a new instance of ResponseError.
4 5 6 7 |
# File 'lib/openagent/errors.rb', line 4 def initialize(msg, error_object=nil) @error_object = error_object super(msg) end |
Instance Attribute Details
#error_object ⇒ Object (readonly)
Returns the value of attribute error_object.
3 4 5 |
# File 'lib/openagent/errors.rb', line 3 def error_object @error_object end |