Class: Mongo::Error::InvalidMinPoolSize
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/invalid_min_pool_size.rb |
Overview
Exception that is raised when trying to create a client with an invalid min_pool_size option.
Class Method Summary
-
.new(min, max) ⇒ InvalidMinPoolSize
constructor
Instantiate the new exception.
Constructor Details
.new(min, max) ⇒ InvalidMinPoolSize
Instantiate the new exception.
# File 'lib/mongo/error/invalid_min_pool_size.rb', line 30
def initialize(min, max) super("Invalid min pool size: #{min}. Please ensure that it is less than the max size: #{max}. ") end