Superclass for all database execution errors.
Wraps the underlying database error as original_exception
.
# File lib/active_record/errors.rb, line 66 def initialize(message, original_exception = nil) super(message) @original_exception = original_exception end