Exception: Mongoid::Errors::NoClientConfig
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::NoClientConfig
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/no_client_config.rb
Overview
This error is raised when attempting to create a new client that does not have a named configuration.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(name) ⇒ NoClientConfig
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(name) ⇒ NoClientConfig
Create the new error.
19 20 21 |
# File 'build/mongoid-7.3/lib/mongoid/errors/no_client_config.rb', line 19 def initialize(name) super(("no_client_config", { name: name })) end |