Sha256: 9edf1dcba87b3d56521f7bf02ba36646a33487948035f8ba00bfb7bd595bf103
Contents?: true
Size: 643 Bytes
Versions: 46
Compression:
Stored size: 643 Bytes
Contents
# encoding: utf-8 module Mongoid module Errors # This error is raised when a session is configured without hosts. class NoSessionHosts < MongoidError # Create the new error. # # @example Create the new error. # NoSessionHosts.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_session_hosts", { name: name, config: config } ) ) end end end end
Version data entries
46 entries across 46 versions & 6 rubygems