Exception: Async::Container::Terminate

Inherits:
SignalException
  • Object
show all
Defined in:
lib/async/container/error.rb

Overview

Similar to Interrupt, but represents ‘SIGTERM`.

Constant Summary collapse

SIGTERM =
Signal.list['TERM']

Instance Method Summary collapse

Constructor Details

#initializeTerminate

Returns a new instance of Terminate.



17
18
19
# File 'lib/async/container/error.rb', line 17

def initialize
	super(SIGTERM)
end