Exception: AppleBot::SignalTermination

Inherits:
StandardError
  • Object
show all
Defined in:
lib/applebot/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(status) ⇒ SignalTermination

Returns a new instance of SignalTermination.



53
54
55
# File 'lib/applebot/error.rb', line 53

def initialize(status)
  super("The process was terminated with signal #{status.termsig} (#{Signal.signame(status.termsig)})")
end