#include <canlib.h> canStatus canGetErrorText(canStatus err, char* buf, int bufsiz);
This function translates an error code (of type canStatus) to a human-readable, English text.
canOK (zero) if success canERR_xxx (negative) if failure.
An example.