Module: DispatchRider::DefaultErrorHandler

Defined in:
lib/dispatch-rider/error_handlers.rb

Overview

This is the default error handler for dispatch rider. It simply re-raises the exception.

Class Method Summary collapse

Class Method Details

.call(_message, exception) ⇒ Object



7
8
9
# File 'lib/dispatch-rider/error_handlers.rb', line 7

def self.call(_message, exception)
  raise exception
end