Sha256: d4461ff196cca5902b19eebbf3928db292368bd31ae0e99da5f39653b18d6eec
Contents?: true
Size: 599 Bytes
Versions: 9
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # This error is raised when a bad async query executor option is attempted # to be set. class InvalidQueryExecutor < MongoidError # Create the new error. # # @param [ Symbol | String ] executor The attempted async query executor. # # @api private def initialize(executor) super( compose_message( "invalid_async_query_executor", { executor: executor, options: [:immediate, :global_thread_pool] } ) ) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems