Exception: SmokeSignals::NoRestartError

Inherits:
RuntimeError
  • Object
show all
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)

Instance Method Summary (collapse)

Constructor Details

- (NoRestartError) initialize(restart_name)



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