Sha256: 3ee36e8b9c1bc34aa433e0386ea34ac565871ae5591c29abf3bd15cea43f728a
Contents?: true
Size: 690 Bytes
Versions: 25
Compression:
Stored size: 690 Bytes
Contents
# frozen_string_literal: true 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. def initialize(name, config) super( compose_message( "mixed_client_configuration", { name: name, config: config } ) ) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems