Exception: OpenAgent::SIFError

Inherits:
ResponseError show all
Defined in:
lib/openagent/errors.rb

Instance Attribute Summary

Attributes inherited from ResponseError

#error_object

Instance Method Summary collapse

Constructor Details

#initialize(error_object) ⇒ SIFError

Returns a new instance of SIFError.



11
12
13
14
# File 'lib/openagent/errors.rb', line 11

def initialize(error_object)
  @error_object = error_object
  super(@error_object.desc, @error_object)
end