Module conf_misc

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

Data Types

error_reason()

error_reason() = {function_not_exported, module(), atom(), non_neg_integer()} | {module_not_found, module()}

Function Index

file_modes_validator/0
format_error/1
mfa_validator/0
modfun_validator/1
to_minutes/1
to_seconds/1
to_string/1
try_load/3

Function Details

file_modes_validator/0

file_modes_validator() -> yval:validator([file:mode()])

format_error/1

format_error(X1::error_reason()) -> unicode:chardata()

mfa_validator/0

mfa_validator() -> yval:validator({module(), atom(), list()})

modfun_validator/1

modfun_validator(Arity::non_neg_integer()) -> yval:validator({module(), atom()})

to_minutes/1

to_minutes(F::yval:validator()) -> yval:validator(pos_integer())

to_seconds/1

to_seconds(F::yval:validator()) -> yval:validator(pos_integer())

to_string/1

to_string(F::yval:validator()) -> yval:validator(string())

try_load/3

try_load(Mod::module(), Fun::atom(), Arity::non_neg_integer()) -> {ok, module()} | {error, error_reason()}


Generated by EDoc