Sha256: 137935c947a969cbfb3b2b336fd8ece3fc914fc8a80fb580883666a2a889a10a
Contents?: true
Size: 473 Bytes
Versions: 104
Compression:
Stored size: 473 Bytes
Contents
# encoding: utf-8 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. # # @since 3.0.0 def initialize(klass) super(compose_message("no_metadata", { klass: klass })) end end end end
Version data entries
104 entries across 99 versions & 7 rubygems