Exception: Lotus::View::MissingTemplateLayoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/lotus/view/errors.rb

Overview

Missing template layout error

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

Since:

  • 0.5.0

Instance Method Summary collapse

Constructor Details

#initialize(template) ⇒ MissingTemplateLayoutError

Returns a new instance of MissingTemplateLayoutError.

Since:

  • 0.5.0



42
43
44
# File 'lib/lotus/view/errors.rb', line 42

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