method
handle_render_error
v4.0.2 -
Show latest stable
- Class:
ActionView::Template
handle_render_error(view, e)protected
No documentation available.
# File actionpack/lib/action_view/template.rb, line 312
def handle_render_error(view, e) #:nodoc:
if e.is_a?(Template::Error)
e.sub_template_of(self)
raise e
else
template = self
unless template.source
template = refresh(view)
template.encode!
end
raise Template::Error.new(template, e)
end
end