Sha256: 230e9846b305663eb5725388dd9202025e75d06959f17d7ba883d9bbfc645c84
Contents?: true
Size: 468 Bytes
Versions: 29
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true 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. def initialize(klass) super(compose_message("invalid_path", { klass: klass })) end end end end
Version data entries
29 entries across 29 versions & 1 rubygems