new(message = nil, 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 activerecord/lib/active_record/errors.rb, line 100
    def initialize(message = nil, 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 || $!.try(:message))
    end
Register or log in to add new notes.