edge badge

Superclass for all database execution errors.

Wraps the underlying database error as cause.

Methods
N
Class Public methods
new(message = nil)
# File activerecord/lib/active_record/errors.rb, line 99
def initialize(message = nil)
  super(message || $!.try(:message))
end