caterr_str - get description of an error code as a string
#include <cat/cat.h>
const char *caterr_str(int retval);
This function returns a string describing the error code retval (error codes are described in cat). The function never returns NULL, even for unknown codes, but instead returns "Unknown error code"
.
The error strings are statically allocated in the library and should not be
manipulated or freed.
cat, caterr