Module: EventSourcery::EventProcessing::ErrorHandlers::ErrorHandler

Included in:
ConstantRetry, ExponentialBackoffRetry, NoRetry
Defined in:
lib/event_sourcery/event_processing/error_handlers/error_handler.rb

Instance Method Summary collapse

Instance Method Details

#with_error_handlingObject

The default with_error_handling method. Will always raise NotImplementedError

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/event_sourcery/event_processing/error_handlers/error_handler.rb', line 8

def with_error_handling
  raise NotImplementedError, 'Please implement #with_error_handling method'
end