Exception: Hcheck::Errors::HTTPError

Inherits:
HcheckError show all
Defined in:
lib/hcheck/errors.rb

Overview

HTTP related error

Constant Summary

Constants inherited from HcheckError

Hcheck::Errors::HcheckError::MSG

Instance Method Summary collapse

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