Exception: Hem::HostCheckError
- Defined in:
- lib/hem/errors.rb
Instance Attribute Summary collapse
-
#advice ⇒ Object
Returns the value of attribute advice.
-
#summary ⇒ Object
Returns the value of attribute summary.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(summary, advice) ⇒ HostCheckError
constructor
A new instance of HostCheckError.
Constructor Details
#initialize(summary, advice) ⇒ HostCheckError
Returns a new instance of HostCheckError.
88 89 90 91 92 |
# File 'lib/hem/errors.rb', line 88 def initialize summary, advice @summary = summary @advice = advice super("Host check failed: #{summary}") end |
Instance Attribute Details
#advice ⇒ Object
Returns the value of attribute advice.
87 88 89 |
# File 'lib/hem/errors.rb', line 87 def advice @advice end |
#summary ⇒ Object
Returns the value of attribute summary.
87 88 89 |
# File 'lib/hem/errors.rb', line 87 def summary @summary end |