Exception: Mongoid::Errors::InvalidEstimatedCountCriteria
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidEstimatedCountCriteria
- Defined in:
- build/mongoid-7.3/lib/mongoid/errors/invalid_estimated_count_criteria.rb
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(class_name) ⇒ InvalidEstimatedCountCriteria
constructor
private
Creates the exception raised when trying to call estimated_count on a filtered criteria.
Methods inherited from MongoidError
Constructor Details
#initialize(class_name) ⇒ InvalidEstimatedCountCriteria
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Creates the exception raised when trying to call estimated_count on a filtered criteria.
16 17 18 19 20 21 22 23 |
# File 'build/mongoid-7.3/lib/mongoid/errors/invalid_estimated_count_criteria.rb', line 16 def initialize(class_name) super( ( "invalid_estimated_count_criteria", { class_name: class_name } ) ) end |