Module conf_env

Authors: Evgeny Khramtsov (xramtsov@gmail.com).

Data Types

error_reason()

error_reason() = {undefined_env, atom()} | {invalid_env, atom(), term()}

Function Index

callback_module/1
file/0
format_error/1
load/2
on_fail/0

Function Details

callback_module/1

callback_module(App::atom()) -> {ok, module()} | {error, error_reason()}

file/0

file() -> {ok, binary()} | {error, error_reason()}

format_error/1

format_error(X1::error_reason()) -> string()

load/2

load(Config::conf:apps_config(), Reload::boolean()) -> ok | {error, term()}

on_fail/0

on_fail() -> stop | crash | halt


Generated by EDoc