Refactored error handling

Now uses base error class which has an abstract function for overiding how it is displayed to the console.
This commit is contained in:
Pasha Bibko
2025-05-05 15:44:59 +01:00
parent a16ce34c8b
commit 616ed1ca21
26 changed files with 340 additions and 243 deletions

View File

@@ -11,14 +11,14 @@ This is my custom compiled language written in C++ based off of the LLVM toolcha
### Codebase
- Errors
- Inherit from a common class
- All simple errors (no members) use the same type
- ThrowIf Requires an error class
- No temporary throw int;
- Logging
- Less templates
- Standard for formatting
- Choose what is logged
- Refactor
- Use dynamic linking for debug builds (faster build times)
- General clean up
### Stuff I want to do later (unordered)
- I/O manager (Console, Files)