Sha256: 733f6a80058a630f38a346f0772a9f4cf6a1ceb7d4b75f1e543e88d60ca34d62
Contents?: true
Size: 706 Bytes
Versions: 59
Compression:
Stored size: 706 Bytes
Contents
# encoding: utf-8 module Mongoid module Errors # This error is raised when a client configuration contains both a uri and # other standard options. class MixedClientConfiguration < MongoidError # Initialize the error. # # @example Initialize the error. # MixedClientConfiguration.new(:name, {}) # # @param [ Symbol ] name The name of the client config. # @param [ Hash ] config The configuration options. # # @since 3.0.0 def initialize(name, config) super( compose_message( "mixed_client_configuration", { name: name, config: config } ) ) end end end end
Version data entries
59 entries across 55 versions & 3 rubygems