Exception: Nanoc3::Errors::UnknownFilter

Inherits:
Generic
  • Object
show all
Defined in:
lib/nanoc3/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

#initialize(filter_name) ⇒ UnknownFilter

Returns a new instance of UnknownFilter.

Parameters:

  • filter_name (Symbol)

    The filter name for which no filter could be found



42
43
44
# File 'lib/nanoc3/base/errors.rb', line 42

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