sig_status.h

include/sig/base/sig_status.h

sig_status_t

typedef enum {
    SIG_OK = 0,
    SIG_ERR_ALLOC = -1,
    SIG_ERR_INVALID_ARG = -2,
    SIG_ERR_NOT_FOUND = -3,
    SIG_ERR_EXISTS = -4,
    SIG_ERR_PLATFORM = -5,
    SIG_ERR_TYPE_MISMATCH = -6,
    SIG_ERR_PARSE = -7,
    SIG_ERR_STATE = -8,   /* operation not valid in the current state (e.g. frozen shared container) */
    SIG_ERR_TIMEOUT = -9, /* a timed wait expired before the awaited event */
    SIG_ERR_STALE = -10,  /* what the call relied on changed since it was prepared; prepare again and retry */
} sig_status_t;