Exception: Nanoc3::Errors::NoMatchingRoutingRuleFound
- Defined in:
- lib/nanoc3/base/errors.rb
Overview
Error that is raised when no routing rule that can be applied to the current item can be found.
Instance Method Summary collapse
-
#initialize(rep) ⇒ NoMatchingRoutingRuleFound
constructor
A new instance of NoMatchingRoutingRuleFound.
Constructor Details
#initialize(rep) ⇒ NoMatchingRoutingRuleFound
Returns a new instance of NoMatchingRoutingRuleFound.
101 102 103 |
# File 'lib/nanoc3/base/errors.rb', line 101 def initialize(rep) super("No routing rules were found for the “#{rep.item.identifier}” item (rep “#{rep.name}”).".make_compatible_with_env) end |