Exception: HCUtil::Errors::RESTError
- Inherits:
-
HCUtilError
- Object
- StandardError
- HCUtilError
- HCUtil::Errors::RESTError
- Defined in:
- lib/hcutil/errors.rb
Instance Method Summary collapse
-
#initialize(result, uri, response) ⇒ RESTError
constructor
A new instance of RESTError.
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 |