Module: Zoidberg::Supervise::InstanceMethods

Defined in:
lib/zoidberg/supervise.rb

Instance Method Summary collapse

Instance Method Details

#abort(e) ⇒ Object

Customized method for raising exceptions that have been properly handled (preventing termination)



18
19
20
21
22
# File 'lib/zoidberg/supervise.rb', line 18

def abort(e)
  new_e = ::Zoidberg::Supervise::AbortException.new
  new_e.original_exception = e
  ::Kernel.raise new_e
end