Exception: Nanoc::Errors::UnknownFilter

Inherits:
Generic
  • Object
show all
Defined in:
lib/nanoc/base/errors.rb

Overview

Error that is raised during site compilation when an item uses a filter that is not known.

Instance Method Summary (collapse)

Constructor Details

- (UnknownFilter) initialize(filter_name)

Returns a new instance of UnknownFilter

Parameters:

  • filter_name (Symbol)

    The filter name for which no filter could be found



47
48
49
# File 'lib/nanoc/base/errors.rb', line 47

def initialize(filter_name)
  super("The requested filter, “#{filter_name}”, does not exist.")
end