Skip to content

Commit 83c5955

Browse files
authored
feat: reserve error async codes for custom implementations (#260)
1 parent 61846c4 commit 83c5955

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

ecsact/runtime/async.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,21 @@ typedef enum {
5353
* A request was made before connection was established
5454
*/
5555
ECSACT_ASYNC_ERR_NOT_CONNECTED,
56+
57+
/**
58+
* Internal error has occurred
59+
*/
60+
ECSACT_ASYNC_ERR_INTERNAL = 99,
61+
62+
/**
63+
* Start of custom implementation specific error codes
64+
*/
65+
ECSACT_ASYNC_ERR_CUSTOM_BEGIN = 100,
66+
67+
/**
68+
* End of custom implementation specific error codes
69+
*/
70+
ECSACT_ASYNC_ERR_CUSTOM_END = 200,
5671
} ecsact_async_error;
5772

5873
/**

0 commit comments

Comments
 (0)