Exception: HCUtil::Errors::RESTError

Inherits:
HCUtilError
  • Object
show all
Defined in:
lib/hcutil/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(result, uri, response) ⇒ RESTError

Returns a new instance of RESTError.



13
14
15
# File 'lib/hcutil/errors.rb', line 13

def initialize(result, uri, response)
  super("#{result.code} #{result.msg}\n#{uri}\n#{response}")
end