Exception: ActiveRecord::StatementInvalid
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
AdapterTimeout, ConnectionFailed, DatabaseAlreadyExists, Deadlocked, InvalidForeignKey, LockWaitTimeout, MismatchedForeignKey, NoDatabaseError, NotNullViolation, PreparedStatementCacheExpired, QueryAborted, QueryCanceled, RangeError, RecordNotUnique, SerializationFailure, StatementTimeout, TransactionRollbackError, ValueTooLong, WrappedDatabaseException
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
AdapterError ,
ActiveRecordError ,
StandardError
|
|
Instance Chain:
self,
AdapterError ,
ActiveRecordError ,
StandardError
|
|
Inherits: |
ActiveRecord::AdapterError
|
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
AdapterError
- Inherited
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(message = nil, sql: nil, binds: nil, connection_pool: nil) ⇒ StatementInvalid
Instance Attribute Details
#binds (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/errors.rb', line 211
attr_reader :sql, :binds
#sql (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/errors.rb', line 211
attr_reader :sql, :binds