Exception: ActiveRecord::StatementInvalid
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Subclasses:
|
|
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
ActiveRecordError,
StandardError
|
|
|
Instance Chain:
self,
ActiveRecordError,
StandardError
|
|
| Inherits: |
ActiveRecord::ActiveRecordError
|
| Defined in: | activerecord/lib/active_record/errors.rb |
Overview
Superclass for all database execution errors.
Wraps the underlying database error as cause.
Class Method Summary
- .new(message = nil) ⇒ StatementInvalid constructor
Constructor Details
.new(message = nil) ⇒ StatementInvalid
# File 'activerecord/lib/active_record/errors.rb', line 100
def initialize( = nil) super( || $!.try(:)) end