Sha256: 6151eb313914a41e26a43ad154a7b8b63411d00b43804147fc6ac6b81c9a5e53
Contents?: true
Size: 603 Bytes
Versions: 27
Compression:
Stored size: 603 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors class InvalidEstimatedCountCriteria < MongoidError # Creates the exception raised when trying to call estimated_count # on a filtered criteria. # # @param [ String ] class_name The klass of the criteria used to call # estimated count. # # @api private def initialize(class_name) super( compose_message( "invalid_estimated_count_criteria", { class_name: class_name } ) ) end end end end
Version data entries
27 entries across 27 versions & 1 rubygems