Exception: Mongoid::Errors::InvalidFind
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidFind
- Defined in:
- lib/mongoid/errors/invalid_find.rb
Overview
Raised when invalid arguments are passed to #find.
Constant Summary
Constants inherited from MongoidError
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.
14 15 16 |
# File 'lib/mongoid/errors/invalid_find.rb', line 14 def initialize super(translate("calling_document_find_with_nil_is_invalid", {})) end |