Sha256: 7d296ca0351a66112bc13d31ad249922f09b1c02113e8e1ca5c1e9c9f96a9b29
Contents?: true
Size: 546 Bytes
Versions: 46
Compression:
Stored size: 546 Bytes
Contents
# encoding: utf-8 module Mongoid module Errors # This error is raised when attempting to create a new session that does # not have a named configuration. class NoSessionConfig < MongoidError # Create the new error. # # @example Create the error. # NoSessionConfig.new(:secondary) # # @param [ String, Symbol ] name The name of the session. # # @since 3.0.0 def initialize(name) super(compose_message("no_session_config", { name: name })) end end end end
Version data entries
46 entries across 46 versions & 6 rubygems