Exception: Hanami::View::MissingTemplateLayoutError
- Defined in:
- lib/hanami/view/errors.rb
Overview
Missing template layout error
This is raised at the runtime when Hanami::Layout cannot find its template.
Instance Method Summary collapse
-
#initialize(template) ⇒ MissingTemplateLayoutError
constructor
private
A new instance of MissingTemplateLayoutError.
Constructor Details
#initialize(template) ⇒ MissingTemplateLayoutError
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 MissingTemplateLayoutError.
46 47 48 |
# File 'lib/hanami/view/errors.rb', line 46 def initialize(template) super("Can't find layout template '#{ template }'") end |