Exception: Mongoid::Errors::UnsupportedIsolationLevel
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::UnsupportedIsolationLevel
- Defined in:
- lib/mongoid/errors/unsupported_isolation_level.rb
Overview
Raised when an unsupported isolation level is used in Mongoid configuration.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(level) ⇒ UnsupportedIsolationLevel
constructor
Create the new error caused by attempting to select an unsupported isolation level.
Methods inherited from MongoidError
Constructor Details
#initialize(level) ⇒ UnsupportedIsolationLevel
Create the new error caused by attempting to select an unsupported isolation level.
12 13 14 15 16 17 18 19 |
# File 'lib/mongoid/errors/unsupported_isolation_level.rb', line 12 def initialize(level) super( ( 'unsupported_isolation_level', { level: level } ) ) end |