Class: Mongo::Error::InvalidMaxConnecting
| 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_max_connecting.rb |
Overview
Exception that is raised when trying to create a client with an invalid max_connecting option.
Class Method Summary
-
.new(max_connecting) ⇒ InvalidMaxConnecting
constructor
Instantiate the new exception.
Constructor Details
.new(max_connecting) ⇒ InvalidMaxConnecting
Instantiate the new exception.
# File 'lib/mongo/error/invalid_max_connecting.rb', line 23
def initialize(max_connecting) super("Invalid max_connecting: #{max_connecting}. Please ensure that it is greater than zero. ") end