From da3b5b2131d2b4ff5cb127e92090fca568376835 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Wed, 24 May 2023 10:28:49 +1200 Subject: in-progress: Config refactor started, changed all existing keybind command args and added in the new files, still many errors --- error.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'error.h') diff --git a/error.h b/error.h index b70085f..630fc7f 100644 --- a/error.h +++ b/error.h @@ -7,9 +7,13 @@ typedef unsigned int ErrCode; #define NOERR 0 #define ERR_NON_FATAL 110 #define ERR_FATAL 120 -#define ERR_CFG_NON_FATAL 210 -#define ERR_CFG_FATAL 220 - +#define CFG_ERR_NON_FATAL 210 +#define CFG_ERR_KEYBIND 211 +#define CFG_ERR_FATAL 220 +#define CMD_ERR_NON_FATAL 310 +#define CMD_ERR_NOT_FOUND 311 +#define CMD_ERR_WRONG_ARGS 312 +#define CMD_ERR_FATAL 320 struct Err { ErrCode code; -- cgit v1.2.3