Exception: Mongoid::Errors::NoClientDatabase
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::NoClientDatabase
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/no_client_database.rb
Overview
This error is raised when a client is configured without a database.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(name, config) ⇒ NoClientDatabase
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(name, config) ⇒ NoClientDatabase
Create the new error.
19 20 21 22 23 24 25 26 |
# File 'build/mongoid-7.3/lib/mongoid/errors/no_client_database.rb', line 19 def initialize(name, config) super( ( "no_client_database", { name: name, config: config } ) ) end |