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.



212
213
214
215
216
# File 'lib/toft/node.rb', line 212

def initialize(message, stdout, stderr)
  @message = message
  @stdout = stdout
  @stderr = stderr
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



210
211
212
# File 'lib/toft/node.rb', line 210

def message
  @message
end

#stderrObject (readonly)

Returns the value of attribute stderr.



210
211
212
# File 'lib/toft/node.rb', line 210

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout.



210
211
212
# File 'lib/toft/node.rb', line 210

def stdout
  @stdout
end