Exception: EventEngine::InvalidRulesError

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

Instance Method Summary collapse

Constructor Details

#initialize(names) ⇒ InvalidRulesError

Returns a new instance of InvalidRulesError.



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

def initialize(names)
  super("the rules file names #{names.map(&:inspect).join(", ")}, " \
        "but no processor is registered under #{names.one? ? "that name" : "those names"}")
end