Exception: Nanoc::Errors::NoMatchingRoutingRuleFound
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc::Errors::NoMatchingRoutingRuleFound
- Defined in:
- lib/nanoc/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)
-
- (NoMatchingRoutingRuleFound) initialize(rep)
constructor
A new instance of NoMatchingRoutingRuleFound.
Constructor Details
- (NoMatchingRoutingRuleFound) initialize(rep)
Returns a new instance of NoMatchingRoutingRuleFound
107 108 109 |
# File 'lib/nanoc/base/errors.rb', line 107 def initialize(rep) super("No routing rules were found for the “#{rep.item.identifier}” item (rep “#{rep.name}”).") end |