Method: Mongoid::Errors::InvalidQueryExecutor#initialize
- Defined in:
- lib/mongoid/errors/invalid_async_query_executor.rb
#initialize(executor) ⇒ InvalidQueryExecutor
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create the new error.
16 17 18 19 20 21 22 23 |
# File 'lib/mongoid/errors/invalid_async_query_executor.rb', line 16 def initialize(executor) super( ( "invalid_async_query_executor", { executor: executor, options: [:immediate, :global_thread_pool] } ) ) end |