Exception: Nanoc3::Errors::UnknownLayout
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc3::Errors::UnknownLayout
- Defined in:
- lib/nanoc3/base/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)
-
- (UnknownLayout) initialize(layout_identifier)
constructor
layout could be found.
Constructor Details
- (UnknownLayout) initialize(layout_identifier)
layout could be found
30 31 32 |
# File 'lib/nanoc3/base/errors.rb', line 30 def initialize(layout_identifier) super("The site does not have a layout with identifier “#{layout_identifier}”.".make_compatible_with_env) end |