Exception: Mongoid::Errors::MixedSessionConfiguration
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::MixedSessionConfiguration
- Defined in:
- lib/mongoid/errors/mixed_session_configuration.rb
Overview
This error is raised when a session configuration contains both a uri and other standard options.
Constant Summary
Constants inherited from MongoidError
Mongoid::Errors::MongoidError::BASE_KEY
Instance Method Summary collapse
-
#initialize(name, config) ⇒ MixedSessionConfiguration
constructor
Initialize the error.
Methods inherited from MongoidError
Constructor Details
#initialize(name, config) ⇒ MixedSessionConfiguration
Initialize the error.
18 19 20 21 22 23 24 25 |
# File 'lib/mongoid/errors/mixed_session_configuration.rb', line 18 def initialize(name, config) super( ( "mixed_session_configuration", { name: name, config: config } ) ) end |