Name
error_setcb —
sets the error callback.
Synopsis
#include <error.h>
error_cb_t cb
;
Arguments
cb
error callback function
Description
Sets the callback to be invoked when an error occurs. The callback
function will be passed an 8-bit error code as argument.