# encoding: utf-8 module Mongoid #:nodoc module Errors #:nodoc # Raised when invalid arguments are passed to #find. class InvalidFind < MongoidError # Create the new invalid find error. # # @example Create the error. # InvalidFind.new # # @since 2.2.0 def initialize super(translate("calling_document_find_with_nil_is_invalid", {})) end end end end