Exception: Nanoc3::Errors::NoMatchingRoutingRuleFound

Inherits:
Generic
  • Object
show all
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)

Constructor Details

- (NoMatchingRoutingRuleFound) initialize(rep)

found

Parameters:

  • item (Nanoc3::Item)

    The item for which no routing rule could be



118
119
120
# File 'lib/nanoc3/base/errors.rb', line 118

def initialize(rep)
  super("No routing rules were found for the “#{rep.item.identifier}” item (rep “#{rep.name}”).".make_compatible_with_env)
end