Exception: Hanami::View::MissingTemplateLayoutError

Inherits:
Error
  • Object
show all
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.

Since:

  • 0.5.0

Instance Method Summary collapse

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.

Since:

  • 0.5.0



46
47
48
# File 'lib/hanami/view/errors.rb', line 46

def initialize(template)
  super("Can't find layout template '#{ template }'")
end