Exception: Hooksmith::MultipleProcessorsError
- Inherits:
-
StandardError
- Object
- StandardError
- Hooksmith::MultipleProcessorsError
- Defined in:
- lib/hooksmith/dispatcher.rb
Overview
Raised when multiple processors can handle the same event.
Instance Method Summary collapse
-
#initialize(provider, event, payload) ⇒ MultipleProcessorsError
constructor
Initializes the error with details about the provider, event, and payload.
Constructor Details
#initialize(provider, event, payload) ⇒ MultipleProcessorsError
Initializes the error with details about the provider, event, and payload.
71 72 73 |
# File 'lib/hooksmith/dispatcher.rb', line 71 def initialize(provider, event, payload) super("Multiple processors found for #{provider} event #{event}. Payload: #{payload}") end |