Exception: OpenAgent::ResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/openagent/errors.rb

Direct Known Subclasses

SIFCodeError, SIFError

Instance Attribute Summary collapse

Instance Method Summary collapse

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_objectObject (readonly)

Returns the value of attribute error_object.



3
4
5
# File 'lib/openagent/errors.rb', line 3

def error_object
  @error_object
end