Exception: MotherBrain::RemoteCommandError
- Inherits:
-
InternalError
- Object
- StandardError
- MBError
- InternalError
- MotherBrain::RemoteCommandError
- Defined in:
- lib/mb/errors.rb
Constant Summary
Constants inherited from MBError
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize(message, host = nil) ⇒ RemoteCommandError
constructor
A new instance of RemoteCommandError.
Methods inherited from MBError
#error_code, error_code, exit_code, #exit_code, #message, #to_hash, #to_json, #to_s
Constructor Details
#initialize(message, host = nil) ⇒ RemoteCommandError
Returns a new instance of RemoteCommandError.
134 135 136 137 |
# File 'lib/mb/errors.rb', line 134 def initialize(, host=nil) super() @host = host if host end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
132 133 134 |
# File 'lib/mb/errors.rb', line 132 def host @host end |