Exception: Toft::CommandExecutionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/toft/node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, stdout, stderr)
  @message = message
  @stdout = stdout
  @stderr = stderr
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



235
236
237
# File 'lib/toft/node.rb', line 235

def message
  @message
end

#stderrObject (readonly)

Returns the value of attribute stderr.



235
236
237
# File 'lib/toft/node.rb', line 235

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout.



235
236
237
# File 'lib/toft/node.rb', line 235

def stdout
  @stdout
end