Sha256: 219b593a112e0a4944a0eff82c2859839db98dc5b9444d39c65fe9882ca9cbf5
Contents?: true
Size: 457 Bytes
Versions: 24
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # Used when trying to persist data when metadata has not been set. class NoMetadata < MongoidError # Create the new error. # # @example Create the error. # NoMetadata.new(Address) # # @param [ Class ] klass The document class. def initialize(klass) super(compose_message("no_metadata", { klass: klass })) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems