Sha256: 0a8aeb126d4240cc61705867b969f6db909e43513178188b6278fa4b0805cb98

Contents?: true

Size: 499 Bytes

Versions: 5

Compression:

Stored size: 499 Bytes

Contents

# encoding: utf-8
module Mongoid
  module Errors

    # This error is raised when attempting to do a query with a
    # collation on documents in memory.
    class InMemoryCollationNotSupported < MongoidError

      # Create the new error.
      #
      # @example Create the new unsupported collation error.
      #   InMemoryCollationNotSupported.new
      #
      # @since 5.2.0
      def initialize
        super(compose_message("in_memory_collation_not_supported"))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongoid-5.4.1 lib/mongoid/errors/in_memory_collation_not_supported.rb
mongoid-5.4.0 lib/mongoid/errors/in_memory_collation_not_supported.rb
mongoid-5.2.1 lib/mongoid/errors/in_memory_collation_not_supported.rb
mongoid-5.2.0 lib/mongoid/errors/in_memory_collation_not_supported.rb
mongoid-5.2.0.rc0 lib/mongoid/errors/in_memory_collation_not_supported.rb