Parent

Methods

Class/Module Index [+]

Quicksearch

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

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.