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