Class: Nanoc::Int::Errors::CannotDetermineFilter Private
- 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 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
-
#initialize(layout_identifier) ⇒ CannotDetermineFilter
constructor
private
A new instance of CannotDetermineFilter.
Constructor Details
#initialize(layout_identifier) ⇒ CannotDetermineFilter
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 CannotDetermineFilter.
49 50 51 |
# File 'lib/nanoc/base/errors.rb', line 49 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 |