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

Create a new terminate error.



19
20
21
# File 'lib/async/container/error.rb', line 19

def initialize
	super(SIGTERM)
end