Sha256: 4d9ed2da378339ae2e2fa3a7b37e957c1a9bba91b1d3bdcda56bd45b2532b290
Contents?: true
Size: 621 Bytes
Versions: 14
Compression:
Stored size: 621 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 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
14 entries across 14 versions & 1 rubygems