Exception: Lotus::View::Rendering::MissingTemplateLayoutError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lotus/view/rendering/layout_registry.rb

Overview

Missing template layout error

This is raised at the runtime when Lotus::Layout cannot find it’s template.

Since:

  • 0.3.0

Instance Method Summary collapse

Constructor Details

#initialize(template) ⇒ MissingTemplateLayoutError

Returns a new instance of MissingTemplateLayoutError.

Since:

  • 0.3.0



13
14
15
# File 'lib/lotus/view/rendering/layout_registry.rb', line 13

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