Exception: Nanoc::Core::Errors::UnknownLayout
- Inherits:
-
Nanoc::Core::Error
- Object
- StandardError
- Nanoc::Core::Error
- Nanoc::Core::Errors::UnknownLayout
- Defined in:
- lib/nanoc/core/errors.rb
Overview
Error that is raised during site compilation when an item uses a layout that is not present in the site.
Instance Method Summary collapse
-
#initialize(layout_identifier) ⇒ UnknownLayout
constructor
A new instance of UnknownLayout.
Constructor Details
#initialize(layout_identifier) ⇒ UnknownLayout
Returns a new instance of UnknownLayout.
119 120 121 |
# File 'lib/nanoc/core/errors.rb', line 119 def initialize(layout_identifier) super("The site does not have a layout with identifier “#{layout_identifier}”.") end |