Class: Mongo::Error::InvalidMaxConnecting
- Inherits:
-
Error
- Object
- Error
- Mongo::Error::InvalidMaxConnecting
- 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.
Instance Method Summary collapse
-
#initialize(max_connecting) ⇒ InvalidMaxConnecting
constructor
Instantiate the new exception.
Constructor Details
#initialize(max_connecting) ⇒ InvalidMaxConnecting
Instantiate the new exception.
23 24 25 |
# 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 |