Exception: Mongoid::Errors::NoClientsConfig
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::NoClientsConfig
- Defined in:
- lib/mongoid/errors/no_clients_config.rb
Overview
This error is raised when no clients exists in the database configuration.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize ⇒ NoClientsConfig
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize ⇒ NoClientsConfig
Create the new error.
15 16 17 |
# File 'lib/mongoid/errors/no_clients_config.rb', line 15 def initialize super(("no_clients_config", {})) end |