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.



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

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

Instance Attribute Details

#stderrObject (readonly)

Returns the value of attribute stderr.



44
45
46
# File 'lib/dcmgr/helpers/cli_helper.rb', line 44

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout.



44
45
46
# File 'lib/dcmgr/helpers/cli_helper.rb', line 44

def stdout
  @stdout
end