method

handle_render_error

handle_render_error(view, e)
protected

No documentation available.

# File actionpack/lib/action_view/template.rb, line 295
      def handle_render_error(view, e) #:nodoc:
        if e.is_a?(Template::Error)
          e.sub_template_of(self)
          raise e
        else
          assigns  = view.respond_to?(:assigns) ? view.assigns : {}
          template = @virtual_path ? refresh(view) : self
          raise Template::Error.new(template, assigns, e)
        end
      end