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