Exception: ActiveRecord::AdapterError
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
AdapterTimeout, ConnectionFailed, ConnectionNotEstablished, ConnectionTimeoutError, DatabaseAlreadyExists, DatabaseConnectionError, Deadlocked, ExclusiveConnectionTimeoutError, InvalidForeignKey, LockWaitTimeout, MismatchedForeignKey, NoDatabaseError, NotNullViolation, PreparedStatementCacheExpired, QueryAborted, QueryCanceled, RangeError, RecordNotUnique, SQLWarning, SerializationFailure, StatementInvalid, StatementTimeout, TransactionRollbackError, ValueTooLong, WrappedDatabaseException
|
|
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 errors raised from an Active Record adapter.
Class Method Summary
Instance Attribute Summary
- #connection_pool readonly
Constructor Details
.new(message = nil, connection_pool: nil) ⇒ AdapterError
# File 'activerecord/lib/active_record/errors.rb', line 60
def initialize( = nil, connection_pool: nil) @connection_pool = connection_pool super( ) end
Instance Attribute Details
#connection_pool (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/errors.rb', line 65
attr_reader :connection_pool