diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2023-05-26 21:46:19 +1200 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2023-05-26 21:46:19 +1200 |
| commit | 27137ec9d29c36df8117869773203b243849896c (patch) | |
| tree | 8f457bcc0862ecd176f5fc748b06f66e46082a2e /error.h | |
| parent | da3b5b2131d2b4ff5cb127e92090fca568376835 (diff) | |
| download | YATwm-27137ec9d29c36df8117869773203b243849896c.tar.gz YATwm-27137ec9d29c36df8117869773203b243849896c.zip | |
feat: Made keybinds work (I hope)
Note: the config file reloading keybinds isn't quite working, though, need to ungrab the keys
Diffstat (limited to 'error.h')
| -rw-r--r-- | error.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -17,5 +17,10 @@ typedef unsigned int ErrCode; struct Err { ErrCode code; - std::string errorMessage; + std::string message; + Err(ErrCode code, std::string message) + { + this->code = code; + this->message = message; + } }; |
