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.
206 207 208 209 210 |
# File 'lib/toft/node.rb', line 206 def initialize(, stdout, stderr) @message = @stdout = stdout @stderr = stderr end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
204 205 206 |
# File 'lib/toft/node.rb', line 204 def @message end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
204 205 206 |
# File 'lib/toft/node.rb', line 204 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
204 205 206 |
# File 'lib/toft/node.rb', line 204 def stdout @stdout end |