Class: Mongo::Error::PoolError
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Subclasses:
|
|
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/pool_error.rb |
Overview
Abstract base class for connection pool-related exceptions.
Class Method Summary
-
.new(address, pool, message) ⇒ PoolError
constructor
Internal use only
Internal use only
Instantiate the new exception.
Instance Attribute Summary
-
#address ⇒ Mongo::Address
readonly
pool's connections connect to.
- #pool ⇒ Mongo::Server::ConnectionPool readonly
Instance Attribute Details
#address ⇒ Mongo::Address (readonly)
pool's connections connect to.
# File 'lib/mongo/error/pool_error.rb', line 25
attr_reader :address
#pool ⇒ Mongo::Server::ConnectionPool (readonly)
# File 'lib/mongo/error/pool_error.rb', line 30
attr_reader :pool