Exception: Dcmgr::Helpers::CliHelper::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- Dcmgr::Helpers::CliHelper::CommandError
- Defined in:
- lib/dcmgr/helpers/cli_helper.rb
Instance Attribute Summary collapse
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(msg, stdout, stderr) ⇒ CommandError
constructor
A new instance of CommandError.
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
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
47 48 49 |
# File 'lib/dcmgr/helpers/cli_helper.rb', line 47 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
47 48 49 |
# File 'lib/dcmgr/helpers/cli_helper.rb', line 47 def stdout @stdout end |