class Mongo::Error::PoolError

Abstract base class for connection pool-related exceptions.

Attributes

address[R]

@return [ Mongo::Address ] address The address of the server the pool's connections connect to.

@since 2.9.0

pool[R]

@return [ Mongo::Server::ConnectionPool ] pool The connection pool.

@since 2.11.0

Public Class Methods

new(address, pool, message) click to toggle source

Instantiate the new exception.

@api private

Calls superclass method Mongo::Error::new
# File lib/mongo/error/pool_error.rb, line 38
def initialize(address, pool, message)
  @address = address
  @pool = pool
  super(message)
end