Exception: Hobo::HostCheckError
- Defined in:
- lib/hobo/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.
71 72 73 74 75 |
# File 'lib/hobo/errors.rb', line 71 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.
70 71 72 |
# File 'lib/hobo/errors.rb', line 70 def advice @advice end |
#summary ⇒ Object
Returns the value of attribute summary.
70 71 72 |
# File 'lib/hobo/errors.rb', line 70 def summary @summary end |