diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2023-02-01 21:23:59 +1300 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2023-02-01 21:27:04 +1300 |
| commit | 59c5fa867eb94699e155520f77f69c7841e1418e (patch) | |
| tree | 3f51d09b70ebf1e80b30663e90c22676d3983e50 /error.h | |
| parent | 93410601e0a9c49f3e7f9a5560054c8fd46fc154 (diff) | |
| download | YATwm-59c5fa867eb94699e155520f77f69c7841e1418e.tar.gz YATwm-59c5fa867eb94699e155520f77f69c7841e1418e.zip | |
added stuff that for some reason didn't get added with -a
Diffstat (limited to 'error.h')
| -rw-r--r-- | error.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#pragma once + +#include <string> + +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 + +struct Err +{ + ErrCode code; + std::string errorMessage; +}; |
