Sha256: 0d5517cafcdabf59be4e905090e5cf5150e03f24545f93d541450396a8924bc3
Contents?: true
Size: 639 Bytes
Versions: 59
Compression:
Stored size: 639 Bytes
Contents
# encoding: utf-8 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. # # @since 3.0.0 def initialize(name, config) super( compose_message( "no_client_hosts", { name: name, config: config } ) ) end end end end
Version data entries
59 entries across 55 versions & 3 rubygems