Exception: Mongoid::Errors::NoSessionDatabase
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::NoSessionDatabase
- Defined in:
- lib/mongoid/errors/no_session_database.rb
Overview
This error is raised when a session is configured without a database.
Constant Summary
Constants inherited from MongoidError
Instance Method Summary collapse
-
#initialize(name, config) ⇒ NoSessionDatabase
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(name, config) ⇒ NoSessionDatabase
Create the new error.
17 18 19 20 21 22 23 24 |
# File 'lib/mongoid/errors/no_session_database.rb', line 17 def initialize(name, config) super( ( "no_session_database", { name: name, config: config } ) ) end |