Bootleg.Config (bootleg v0.13.0) View Source

Configuration manager for Bootleg.

Link to this section Summary

Functions

Loads a configuration file.

Link to this section Functions

Specs

load(binary() | charlist()) :: :ok | {:error, :enoent}

Loads a configuration file.

file is the path to the configuration file to be read and loaded. If that file doesn't exist {:error, :enoent} is returned. If there's an error loading it, a Code.LoadError exception will be raised.