Class: Nanoc::Int::Errors::UnknownFilter Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

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

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of UnknownFilter.

Parameters:

  • filter_name (Symbol)

    The filter name for which no filter could be found



38
39
40
# File 'lib/nanoc/base/errors.rb', line 38

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