Exception: Mongoid::Errors::InvalidIndex
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidIndex
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/invalid_index.rb
Overview
Raised when an invalid index is defined.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(klass, spec, options) ⇒ InvalidIndex
constructor
Create the new error.
Methods inherited from MongoidError
Constructor Details
#initialize(klass, spec, options) ⇒ InvalidIndex
Create the new error.
20 21 22 23 24 25 26 27 |
# File 'build/mongoid-7.3/lib/mongoid/errors/invalid_index.rb', line 20 def initialize(klass, spec, ) super( ( "invalid_index", { klass: klass.name, spec: spec, options: } ) ) end |