Exception: ViewComponent::TemplateError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/view_component/template_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ TemplateError

Returns a new instance of TemplateError.



5
6
7
# File 'lib/view_component/template_error.rb', line 5

def initialize(errors)
  super(errors.join(", "))
end