Exception: Mongoid::Errors::InvalidFind
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidFind
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/invalid_find.rb
Overview
Raised when invalid arguments are passed to #find.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize ⇒ InvalidFind
constructor
Create the new invalid find error.
Methods inherited from MongoidError
Constructor Details
#initialize ⇒ InvalidFind
Create the new invalid find error.
16 17 18 |
# File 'build/mongoid-7.3/lib/mongoid/errors/invalid_find.rb', line 16 def initialize super(("calling_document_find_with_nil_is_invalid", {})) end |