class Mongoid::Errors::InvalidFind

Raised when invalid arguments are passed to #find.

def initialize

Other tags:
    Since: - 2.2.0

Other tags:
    Example: Create the error. -
def initialize
  super(compose_message("calling_document_find_with_nil_is_invalid", {}))
end