Class: Bumbleworks::ErrorDispatcher
- Inherits:
-
Participant
- Object
- Participant
- Bumbleworks::ErrorDispatcher
- Defined in:
- lib/bumbleworks/participants/error_dispatcher.rb
Instance Method Summary collapse
Methods inherited from Participant
Methods included from WorkitemEntityStorage
#entity_storage_workitem, #wrapped_workitem
Instance Method Details
#on_workitem ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/bumbleworks/participants/error_dispatcher.rb', line 3 def on_workitem return if (error_handlers = Bumbleworks.error_handlers).empty? error_handlers.each do |error_handler| error_handler.new(workitem).on_error end reply end |