View Source conf_env (conf v0.2.5)

Link to this section Summary

Link to this section Types

-type error_reason() :: {undefined_env, atom()} | {invalid_env, atom(), term()}.

Link to this section Functions

-spec callback_module(atom()) -> {ok, module()} | {error, error_reason()}.
-spec file() -> {ok, binary()} | {error, error_reason()}.
-spec format_error(error_reason()) -> string().
-spec load(conf:apps_config(), boolean()) -> ok | {error, _}.
-spec on_fail() -> stop | crash | halt.