Exception: Mongoid::Errors::MixedClientConfiguration
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::MixedClientConfiguration
- Defined in:
- 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.
18 19 20 21 22 23 24 25 |
# File 'lib/mongoid/errors/mixed_client_configuration.rb', line 18 def initialize(name, config) super( ( "mixed_client_configuration", { name: name, config: config } ) ) end |