123456789_123456789_123456789_123456789_123456789_

Exception: ActiveRecord::AdapterError

Overview

Superclass for all errors raised from an Active Record adapter.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(message = nil, connection_pool: nil) ⇒ AdapterError

[ GitHub ]

  
# File 'activerecord/lib/active_record/errors.rb', line 60

def initialize(message = nil, connection_pool: nil)
  @connection_pool = connection_pool
  super(message)
end

Instance Attribute Details

#connection_pool (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/errors.rb', line 65

attr_reader :connection_pool