Exception: Mongoid::Errors::InMemoryCollationNotSupported

Inherits:
MongoidError
  • Object
show all
Defined in:
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


15
16
17
# File 'lib/mongoid/errors/in_memory_collation_not_supported.rb', line 15

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