Exception: Mongoid::Errors::InvalidGlobalExecutorConcurrency

Inherits:
MongoidError
  • Object
show all
Defined in:
lib/mongoid/errors/invalid_global_executor_concurrency.rb

Overview

This error is raised when a bad global executor concurrency option is attempted to be set.

Constant Summary

Constants inherited from MongoidError

MongoidError::BASE_KEY

Instance Attribute Summary

Attributes inherited from MongoidError

#problem, #resolution, #summary

Instance Method Summary collapse

Methods inherited from MongoidError

#compose_message

Constructor Details

#initializeInvalidGlobalExecutorConcurrency

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.



14
15
16
17
18
19
20
# File 'lib/mongoid/errors/invalid_global_executor_concurrency.rb', line 14

def initialize
  super(
    compose_message(
      "invalid_global_executor_concurrency"
    )
  )
end