edge badge

Superclass for all database execution errors.

Wraps the underlying database error as original_exception.

Methods
N
Attributes
[R] original_exception
Class Public methods
new(message, original_exception = nil)
# File activerecord/lib/active_record/errors.rb, line 67
def initialize(message, original_exception = nil)
  super(message)
  @original_exception = original_exception
end