Skip to content

Commit

Permalink
add client error
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Dec 6, 2024
1 parent f096647 commit 856506a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/exception.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ struct exception_def exception_defs[] = {
AEROSPIKE_ERR_ASYNC_CONNECTION, NULL),
EXCEPTION_DEF("ClientAbortError", CLIENT_ERR_EXCEPTION_NAME,
AEROSPIKE_ERR_CLIENT_ABORT, NULL),
EXCEPTION_DEF("TranactionFailed", CLIENT_ERR_EXCEPTION_NAME,
AEROSPIKE_TXN_FAILED, NULL),
// Server errors
EXCEPTION_DEF("InvalidRequest", SERVER_ERR_EXCEPTION_NAME,
AEROSPIKE_ERR_REQUEST_INVALID, NULL),
Expand Down

0 comments on commit 856506a

Please sign in to comment.