Sha256: 74f043926c2d6777ebf47aa141f938e38aaf8f7467b6706e66c2bf4529afa0fd
Contents?: true
Size: 624 Bytes
Versions: 20
Compression:
Stored size: 624 Bytes
Contents
# frozen_string_literal: true module Mongoid module Errors # This error is raised when a client is configured without hosts. class NoClientHosts < MongoidError # Create the new error. # # @example Create the new error. # NoClientHosts.new(:default, {}}) # # @param [ Symbol | String ] name The db config key. # @param [ Hash ] config The hash configuration options. def initialize(name, config) super( compose_message( "no_client_hosts", { name: name, config: config } ) ) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems