Exception: SmokeSignals::NoRestartError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SmokeSignals::NoRestartError
- Defined in:
- lib/smoke_signals.rb
Overview
This is raised when a signal handler attempts to execute a restart that has not been established.
Instance Attribute Summary (collapse)
-
- (Object) restart_name
Returns the value of attribute restart_name.
Instance Method Summary (collapse)
-
- (NoRestartError) initialize(restart_name)
constructor
A new instance of NoRestartError.
Constructor Details
- (NoRestartError) initialize(restart_name)
A new instance of NoRestartError
17 18 19 20 |
# File 'lib/smoke_signals.rb', line 17 def initialize(restart_name) super("no established restart with name: #{restart_name}") self.restart_name = restart_name end |
Instance Attribute Details
- (Object) restart_name
Returns the value of attribute restart_name
16 17 18 |
# File 'lib/smoke_signals.rb', line 16 def restart_name @restart_name end |