#include <cat/gen.h>
void catgen_err(const char *func, int code, const char *fmt, ...);
func is the name of the issuer of the warning message, and is usually specified
as a dot-separated list of modules and function names, for example ``mymodule.myfunction
''
code is the error that the function raising the error intends to return to its caller.
The fmt string and any other arguments make up the error message and behave as described for sprintf().
caterr_verror(NULL, func, CAT_ERROR, code, fmt, ...);
caterr_error, caterr_verror, catgen_initdebug, catgen_err