Exception: Mongoid::Errors::InMemoryCollationNotSupported

Inherits:
MongoidError
  • Object
show all
Defined in:
build/mongoid-7.3/lib/mongoid/errors/in_memory_collation_not_supported.rb

Overview

This error is raised when attempting to do a query with a collation on documents in memory.

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

#initializeInMemoryCollationNotSupported

Create the new error.

Examples:

Create the new unsupported collation error.

InMemoryCollationNotSupported.new

Since:

  • 6.1.0



17
18
19
# File 'build/mongoid-7.3/lib/mongoid/errors/in_memory_collation_not_supported.rb', line 17

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