Exception: RakeSlack::Exceptions::NoMatchingRule
- Inherits:
-
StandardError
- Object
- StandardError
- RakeSlack::Exceptions::NoMatchingRule
- Defined in:
- lib/rake_slack/exceptions/no_matching_rule.rb
Instance Method Summary collapse
-
#initialize(candidate) ⇒ NoMatchingRule
constructor
A new instance of NoMatchingRule.
Constructor Details
#initialize(candidate) ⇒ NoMatchingRule
Returns a new instance of NoMatchingRule.
6 7 8 9 10 11 |
# File 'lib/rake_slack/exceptions/no_matching_rule.rb', line 6 def initialize(candidate) super( "No routing rule matches #{candidate.inspect}. Add a catch-all " \ 'rule (when: {}) to the end of routing_rules.' ) end |