method

new

Importance_0
new(msg = nil, e = nil) public

No documentation

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

Hide source
# File actionpack/lib/action_controller/metal/exceptions.rb, line 6
    def initialize(msg = nil, e = nil)
      if e
        ActiveSupport::Deprecation.warn("Passing #original_exception is deprecated and has no effect. "                                          "Exceptions will automatically capture the original exception.", caller)
      end

      super(msg)
      set_backtrace $!.backtrace if $!
    end
Register or log in to add new notes.