Exception: Maintainer::MaintainerPtyError
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- Maintainer::MaintainerPtyError
- Defined in:
- lib/maintainer_core/commandRunner.rb
Instance Attribute Summary collapse
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
Instance Method Summary collapse
-
#initialize(e, exit_status) ⇒ MaintainerPtyError
constructor
A new instance of MaintainerPtyError.
Constructor Details
#initialize(e, exit_status) ⇒ MaintainerPtyError
Returns a new instance of MaintainerPtyError.
10 11 12 13 14 |
# File 'lib/maintainer_core/commandRunner.rb', line 10 def initialize(e, exit_status) super(e) set_backtrace(e.backtrace) if e @exit_status = exit_status end |
Instance Attribute Details
#exit_status ⇒ Object (readonly)
Returns the value of attribute exit_status.
9 10 11 |
# File 'lib/maintainer_core/commandRunner.rb', line 9 def exit_status @exit_status end |