Sha256: ea2183fe8e6ac5c296c1ec5e4733a589967988bf2851274af0dc478517a620c1
Contents?: true
Size: 526 Bytes
Versions: 27
Compression:
Stored size: 526 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # This error is raised when attempting to create a new client that does # not have a named configuration. class NoClientConfig < MongoidError # Create the new error. # # @example Create the error. # NoClientConfig.new(:analytics) # # @param [ String | Symbol ] name The name of the client. def initialize(name) super(compose_message("no_client_config", { name: name })) end end end end
Version data entries
27 entries across 27 versions & 1 rubygems