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.
151 152 153 154 |
# File 'lib/mb/errors.rb', line 151 def initialize(, host=nil) super() @host = host if host end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
149 150 151 |
# File 'lib/mb/errors.rb', line 149 def host @host end |