Exception: ReaperMan::Utils::Process::CommandFailed
- Inherits:
-
StandardError
- Object
- StandardError
- ReaperMan::Utils::Process::CommandFailed
- Defined in:
- lib/reaper-man/utils/process.rb
Overview
NOTE: This is extracted from the elecksee gem and some features removed that are not required here. Should be wrapped up into standalone gem so it’s more reusable.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original ⇒ Object
Returns the value of attribute original.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(orig, result = nil) ⇒ CommandFailed
constructor
A new instance of CommandFailed.
Constructor Details
#initialize(orig, result = nil) ⇒ CommandFailed
Returns a new instance of CommandFailed.
18 19 20 21 22 |
# File 'lib/reaper-man/utils/process.rb', line 18 def initialize(orig, result = nil) @original = orig @result = result super(orig.to_s) end |
Instance Attribute Details
#original ⇒ Object
Returns the value of attribute original.
16 17 18 |
# File 'lib/reaper-man/utils/process.rb', line 16 def original @original end |
#result ⇒ Object
Returns the value of attribute result.
16 17 18 |
# File 'lib/reaper-man/utils/process.rb', line 16 def result @result end |