Exception: Hcheck::Errors::HcheckError
- Defined in:
- lib/hcheck/errors.rb
Overview
Hcheck standard error class
Direct Known Subclasses
ConfigurationError, HTTPError, IncompleteAuthSetup, InvalidAuthentication
Constant Summary collapse
- MSG =
'Hcheck standard error'
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ HcheckError
constructor
A new instance of HcheckError.
Constructor Details
#initialize(msg = nil) ⇒ HcheckError
Returns a new instance of HcheckError.
9 10 11 12 13 |
# File 'lib/hcheck/errors.rb', line 9 def initialize(msg = nil) = msg || self.class::MSG Hcheck.logger.error super() end |