class Mongoid::Errors::NoClientsConfig

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

Public Class Methods

new() click to toggle source

Create the new error.

@example Create the error.

NoClientsConfig.new

@since 3.0.0

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