Superclass for all database execution errors.

Wraps the underlying database error as cause.

Methods

Class Public methods

new(message = nil)

📝 Source code
# File activerecord/lib/active_record/errors.rb, line 100
    def initialize(message = nil)
      super(message || $!.try(:message))
    end
🔎 See on GitHub