class Mongoid::Errors::EmptyConfigFile

loaded.
This error is raised when an empty configuration file is attempted to be

def initialize(path)

Other tags:
    Api: - private

Parameters:
  • path (String) -- The path of the config file used.
def initialize(path)
  super(
    compose_message(
      "empty_config_file",
      { path: path }
    )
  )
end