class Dry::View::TemplateNotFoundError
Error raised when template could not be found within a view's configured paths
@api private
Public Class Methods
new(template_name, lookup_paths)
click to toggle source
Calls superclass method
# File lib/dry/view/errors.rb, line 19 def initialize(template_name, lookup_paths) msg = [ "Template +#{template_name}+ could not be found in paths:", lookup_paths.map { |path| " - #{path}" } ].join("\n\n") super(msg) end