from libjaylink.h:44
enum jaylink_error
{
JAYLINK_OK = 0,
JAYLINK_ERR = -1,
JAYLINK_ERR_ARG = -2,
JAYLINK_ERR_MALLOC = -3,
JAYLINK_ERR_TIMEOUT = -4,
JAYLINK_ERR_PROTO = -5,
JAYLINK_ERR_NOT_AVAILABLE = -6,
JAYLINK_ERR_NOT_SUPPORTED = -7,
JAYLINK_ERR_IO = -8,
JAYLINK_ERR_DEV = -1000,
JAYLINK_ERR_DEV_NOT_SUPPORTED = -1001,
JAYLINK_ERR_DEV_NOT_AVAILABLE = -1002,
JAYLINK_ERR_DEV_NO_MEMORY = -1003
};