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.
60 61 62 63 |
# File 'lib/active_record/errors.rb', line 60 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.
65 66 67 |
# File 'lib/active_record/errors.rb', line 65 def connection_pool @connection_pool end |