Flowdock
new(template, original_exception = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/template/error.rb, line 65
      def initialize(template, original_exception = nil)
        if original_exception
          ActiveSupport::Deprecation.warn("Passing #original_exception is deprecated and has no effect. "                                            "Exceptions will automatically capture the original exception.", caller)
        end

        super($!.message)
        set_backtrace($!.backtrace)
        @cause = $!
        @template, @sub_templates = template, nil
      end
Register or log in to add new notes.