From 83c5955045fef2d4f2915b8f0e764a4e5b4609f9 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Tue, 20 Aug 2024 11:23:04 -0700 Subject: [PATCH] feat: reserve error async codes for custom implementations (#260) --- ecsact/runtime/async.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ecsact/runtime/async.h b/ecsact/runtime/async.h index 8464029a..0df0fdf2 100644 --- a/ecsact/runtime/async.h +++ b/ecsact/runtime/async.h @@ -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; /**