Sha256: baf878a94fca50366967e276956b4d2931dcaee4c97bafae61469a5c978e7a6c
Contents?: true
Size: 516 Bytes
Versions: 27
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true # 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
27 entries across 27 versions & 2 rubygems