Exception: PantographCore::PantographPtyError
- Inherits:
-
StandardError
- Object
- Exception
- StandardError
- PantographCore::PantographPtyError
- Defined in:
- pantograph_core/lib/pantograph_core/pantograph_pty.rb
Instance Attribute Summary collapse
-
#exit_status ⇒ Object
readonly
Returns the value of attribute exit_status.
Instance Method Summary collapse
-
#initialize(e, exit_status) ⇒ PantographPtyError
constructor
A new instance of PantographPtyError.
Methods inherited from Exception
#pantograph_should_report_metrics?
Constructor Details
#initialize(e, exit_status) ⇒ PantographPtyError
Returns a new instance of PantographPtyError.
14 15 16 17 18 |
# File 'pantograph_core/lib/pantograph_core/pantograph_pty.rb', line 14 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.
13 14 15 |
# File 'pantograph_core/lib/pantograph_core/pantograph_pty.rb', line 13 def exit_status @exit_status end |