Exception: Nanoc::Errors::CannotDetermineFilter

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

Overview

Error that is raised during site compilation when a layout is compiled for which the filter cannot be determined. This is similar to the UnknownFilter error, but specific for filters for layouts.

Instance Method Summary (collapse)

Constructor Details

- (CannotDetermineFilter) initialize(layout_identifier)

Returns a new instance of CannotDetermineFilter

Parameters:

  • layout_identifier (String)

    The identifier of the layout for which the filter could not be determined



51
52
53
# File 'lib/nanoc/base/errors.rb', line 51

def initialize(layout_identifier)
  super("The filter to be used for the “#{layout_identifier}” layout could not be determined. Make sure the layout does have a filter.")
end