Exception: EventEngine::InvalidRulesError
- Inherits:
-
StandardError
- Object
- StandardError
- EventEngine::InvalidRulesError
- Defined in:
- lib/event_engine/invalid_rules_error.rb
Instance Method Summary collapse
-
#initialize(names) ⇒ InvalidRulesError
constructor
A new instance of InvalidRulesError.
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 |