Class: Mongo::Error::ConnectionCheckOutTimeout
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Timeout::Error
|
|
Instance Chain:
self,
Timeout::Error
|
|
Inherits: |
Timeout::Error
|
Defined in: | lib/mongo/error/connection_check_out_timeout.rb |
Overview
Note:
For backwards compatibility reasons this class derives from Timeout::Error rather than ::Mongo::Error
.
Exception raised when trying to check out a connection from a connection pool, the pool is at its max size and no connections become available within the configured wait timeout.
Class Method Summary
-
.new(msg, options) ⇒ ConnectionCheckOutTimeout
constructor
Internal use only
Internal use only
Instantiate the new exception.
Instance Attribute Summary
- #address ⇒ Mongo::Address readonly
Instance Attribute Details
#address ⇒ Mongo::Address (readonly)
# File 'lib/mongo/error/connection_check_out_timeout.rb', line 35
attr_reader :address