Exception: Mongoid::Errors::MixedClientConfiguration
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::MixedClientConfiguration
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/mixed_client_configuration.rb
Overview
This error is raised when a client configuration contains both a uri and other standard options.
Constant Summary
Constants inherited from MongoidError
Mongoid::Errors::MongoidError::BASE_KEY
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(name, config) ⇒ MixedClientConfiguration
constructor
Initialize the error.
Methods inherited from MongoidError
Constructor Details
#initialize(name, config) ⇒ MixedClientConfiguration
Initialize the error.
20 21 22 23 24 25 26 27 |
# File 'build/mongoid-7.3/lib/mongoid/errors/mixed_client_configuration.rb', line 20 def initialize(name, config) super( ( "mixed_client_configuration", { name: name, config: config } ) ) end |