Exception: Mongoid::Errors::InvalidQueryExecutor
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::InvalidQueryExecutor
- Defined in:
- lib/mongoid/errors/invalid_async_query_executor.rb
Overview
This error is raised when a bad async query executor option is attempted to be set.
Constant Summary
Constants inherited from MongoidError
Instance Attribute Summary
Attributes inherited from MongoidError
#problem, #resolution, #summary
Instance Method Summary collapse
-
#initialize(executor) ⇒ InvalidQueryExecutor
constructor
private
Create the new error.
Methods inherited from MongoidError
Constructor Details
#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 |