Exception: Dcmgr::Helpers::CliHelper::CommandError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dcmgr/helpers/cli_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, stdout, stderr) ⇒ CommandError

Returns a new instance of CommandError.



48
49
50
51
52
# File 'lib/dcmgr/helpers/cli_helper.rb', line 48

def initialize(msg, stdout, stderr)
  super(msg)
  @stdout = stdout
  @stderr = stderr
end

Instance Attribute Details

#stderrObject (readonly)

Returns the value of attribute stderr.



47
48
49
# File 'lib/dcmgr/helpers/cli_helper.rb', line 47

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout.



47
48
49
# File 'lib/dcmgr/helpers/cli_helper.rb', line 47

def stdout
  @stdout
end