Exception: SmokeSignals::UnhandledSignalError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SmokeSignals::UnhandledSignalError
- Defined in:
- lib/smoke_signals.rb
Overview
This is raised by Condition#signal! if no handler rescues or restarts.
Instance Attribute Summary (collapse)
-
- (Object) condition
Returns the value of attribute condition.
Instance Method Summary (collapse)
-
- (UnhandledSignalError) initialize(condition)
constructor
A new instance of UnhandledSignalError.
Constructor Details
- (UnhandledSignalError) initialize(condition)
A new instance of UnhandledSignalError
7 8 9 10 |
# File 'lib/smoke_signals.rb', line 7 def initialize(condition) super('condition was not rescued or restarted by any handlers') self.condition = condition end |
Instance Attribute Details
- (Object) condition
Returns the value of attribute condition
6 7 8 |
# File 'lib/smoke_signals.rb', line 6 def condition @condition end |