bootleg v0.8.0 Bootleg.Config View Source

Configuration manager for Bootleg.

Link to this section Summary

Functions

Loads a configuration file

Link to this section Functions

Link to this function load(file) View Source
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.