class Mongoid::Errors::InvalidQueryExecutor
This error is raised when a bad async query executor option is attempted to be set.
Public Class Methods
new(executor)
click to toggle source
Create the new error.
@param [ Symbol | String ] executor The attempted async query executor.
@api private
Calls superclass method
# File lib/mongoid/errors/invalid_async_query_executor.rb, line 16 def initialize(executor) super( compose_message( "invalid_async_query_executor", { executor: executor, options: [:immediate, :global_thread_pool] } ) ) end