Exception: Hcheck::Errors::HTTPError
- Inherits:
-
HcheckError
- Object
- StandardError
- HcheckError
- Hcheck::Errors::HTTPError
- Defined in:
- lib/hcheck/errors.rb
Overview
HTTP related error
Constant Summary
Constants inherited from HcheckError
Hcheck::Errors::HcheckError::MSG
Instance Method Summary collapse
-
#initialize(msg) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(msg) ⇒ HTTPError
Returns a new instance of HTTPError.
37 38 39 |
# File 'lib/hcheck/errors.rb', line 37 def initialize(msg) super("Couldn't get a successful response code. #{msg}") end |