Skip to content

Commit

Permalink
feat: reserve error async codes for custom implementations (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy authored Aug 20, 2024
1 parent 61846c4 commit 83c5955
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ecsact/runtime/async.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,21 @@ typedef enum {
* A request was made before connection was established
*/
ECSACT_ASYNC_ERR_NOT_CONNECTED,

/**
* Internal error has occurred
*/
ECSACT_ASYNC_ERR_INTERNAL = 99,

/**
* Start of custom implementation specific error codes
*/
ECSACT_ASYNC_ERR_CUSTOM_BEGIN = 100,

/**
* End of custom implementation specific error codes
*/
ECSACT_ASYNC_ERR_CUSTOM_END = 200,
} ecsact_async_error;

/**
Expand Down

0 comments on commit 83c5955

Please sign in to comment.