Exception: Toft::CommandExecutionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Toft::CommandExecutionError
- Defined in:
- lib/toft/node.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(message, stdout, stderr) ⇒ CommandExecutionError
constructor
A new instance of CommandExecutionError.
Constructor Details
#initialize(message, stdout, stderr) ⇒ CommandExecutionError
Returns a new instance of CommandExecutionError.
237 238 239 240 241 |
# File 'lib/toft/node.rb', line 237 def initialize(, stdout, stderr) @message = @stdout = stdout @stderr = stderr end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
235 236 237 |
# File 'lib/toft/node.rb', line 235 def @message end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
235 236 237 |
# File 'lib/toft/node.rb', line 235 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
235 236 237 |
# File 'lib/toft/node.rb', line 235 def stdout @stdout end |