diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2023-05-24 10:28:49 +1200 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2023-05-24 10:28:49 +1200 |
| commit | da3b5b2131d2b4ff5cb127e92090fca568376835 (patch) | |
| tree | 3c3ca1dbb19683a22eefde705f2d8ac4d62ffdc3 /error.h | |
| parent | 6655d5dfb24ca3fd36b02550c526bca1f5d924e9 (diff) | |
| download | YATwm-da3b5b2131d2b4ff5cb127e92090fca568376835.tar.gz YATwm-da3b5b2131d2b4ff5cb127e92090fca568376835.zip | |
in-progress: Config refactor started, changed all existing keybind command args and added in the new files, still many errors
Diffstat (limited to 'error.h')
| -rw-r--r-- | error.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; |
