class Mongoid::Errors::NoSessionsConfig

This error is raised when no sessions exists in the database configuration.

Public Class Methods

new() click to toggle source

Create the new error.

@example Create the error.

NoSessionsConfig.new

@since 3.0.0

Calls superclass method
# File lib/mongoid/errors/no_sessions_config.rb, line 14
def initialize
  super(compose_message("no_sessions_config", {}))
end