Sha256: c8dcb19cb2b83ca18a96c0af2fae759a7e0bf10607c12ac444474c37e4dd3dc1
Contents?: true
Size: 737 Bytes
Versions: 27
Compression:
Stored size: 737 Bytes
Contents
# frozen_string_literal: true # 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
27 entries across 27 versions & 2 rubygems