View Source conf_misc (conf v0.2.5)
Link to this section Summary
Link to this section Types
-type error_reason() ::
{function_not_exported, module(), atom(), non_neg_integer()} | {module_not_found, module()}.
Link to this section Functions
-spec file_modes_validator() -> yval:validator([file:mode()]).
-spec format_error(error_reason()) -> unicode:chardata().
-spec mfa_validator() -> yval:validator({module(), atom(), list()}).
-spec modfun_validator(non_neg_integer()) -> yval:validator({module(), atom()}).
-spec to_minutes(yval:validator()) -> yval:validator(pos_integer()).
-spec to_seconds(yval:validator()) -> yval:validator(pos_integer()).
-spec to_string(yval:validator()) -> yval:validator(string()).
-spec try_load(module(), atom(), non_neg_integer()) -> {ok, module()} | {error, error_reason()}.