Sha256: a850263acd093ba641b3f3054dfffc1da68820a6970bd8c9e893654e65f7463b
Contents?: true
Size: 485 Bytes
Versions: 92
Compression:
Stored size: 485 Bytes
Contents
# encoding: utf-8 module Mongoid module Errors # Used when attempting to get embedded paths with incorrect root path set. class InvalidPath < MongoidError # Create the new error. # # @example Create the error. # InvalidPath.new(Address) # # @param [ Class ] klass The document class. # # @since 3.0.14 def initialize(klass) super(compose_message("invalid_path", { klass: klass })) end end end end
Version data entries
92 entries across 87 versions & 7 rubygems