Skip to content
Snippets Groups Projects
Commit 1a75ee9e authored by Lucas Russo's avatar Lucas Russo
Browse files

libclient/bpm_client_err.*: add error codes

parent 5af0f30c
No related merge requests found
......@@ -14,6 +14,9 @@ static const char *bpm_client_err [BPM_CLIENT_ERR_END] =
{
[BPM_CLIENT_SUCCESS] = "Success",
[BPM_CLIENT_ERR_ALLOC] = "Could not allocate memory",
[BPM_CLIENT_ERR_SERVER] = "Server could not complete request",
[BPM_CLIENT_ERR_AGAIN] = "Operation did not fully complete, try again",
[BPM_CLIENT_ERR_TIMEOUT] = "Timeout occurred",
};
/* Convert enumeration type to string */
......
......@@ -15,6 +15,9 @@ enum _bpm_client_err_e
{
BPM_CLIENT_SUCCESS = 0, /* No error */
BPM_CLIENT_ERR_ALLOC, /* Could not allocate memory */
BPM_CLIENT_ERR_SERVER, /* Server could not complete request */
BPM_CLIENT_ERR_TIMEOUT, /* Timeout occurred */
BPM_CLIENT_ERR_AGAIN, /* Operation did not fully complete, try again */
BPM_CLIENT_ERR_END /* End of enum marker */
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment