Exception: Nanoc::Core::Errors::CannotDetermineFilter
- Inherits:
-
Nanoc::Core::Error
- Object
- StandardError
- Nanoc::Core::Error
- Nanoc::Core::Errors::CannotDetermineFilter
- Defined in:
- lib/nanoc/core/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
-
#initialize(layout_identifier) ⇒ CannotDetermineFilter
constructor
A new instance of CannotDetermineFilter.
Constructor Details
#initialize(layout_identifier) ⇒ CannotDetermineFilter
Returns a new instance of CannotDetermineFilter.
97 98 99 |
# File 'lib/nanoc/core/errors.rb', line 97 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 |