Exception: ActiveRecord::AdapterError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::AdapterError
- Defined in:
- lib/active_record/errors.rb
Overview
Superclass for all errors raised from an Active Record adapter.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#connection_pool ⇒ Object
readonly
Returns the value of attribute connection_pool.
Instance Method Summary collapse
-
#initialize(message = nil, connection_pool: nil) ⇒ AdapterError
constructor
A new instance of AdapterError.
Constructor Details
#initialize(message = nil, connection_pool: nil) ⇒ AdapterError
Returns a new instance of AdapterError.
56 57 58 59 |
# File 'lib/active_record/errors.rb', line 56 def initialize( = nil, connection_pool: nil) @connection_pool = connection_pool super() end |
Instance Attribute Details
#connection_pool ⇒ Object (readonly)
Returns the value of attribute connection_pool.
61 62 63 |
# File 'lib/active_record/errors.rb', line 61 def connection_pool @connection_pool end |