Exception: EventEngine::UnroutedEventsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/event_engine/unrouted_events_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(event_names) ⇒ UnroutedEventsError

Returns a new instance of UnroutedEventsError.



3
4
5
6
7
# File 'lib/event_engine/unrouted_events_error.rb', line 3

def initialize(event_names)
  super("no processing rule routes #{event_names.map(&:inspect).join(", ")}; " \
        "declare #{event_names.one? ? "it" : "them"} in the rules file " \
        "under events, packs, or default")
end