Got logging and errors basically all working the way I want

This commit is contained in:
NaifBanana
2026-06-11 04:24:06 -05:00
parent 0f62aecfa3
commit 58121bdf28
10 changed files with 465 additions and 291 deletions
+1 -1
View File
@@ -35,5 +35,5 @@ const ErrorCodeMap TestError::ErrorMessages{
TEST(ErrorTest, Test) {
auto err = TestError(0, TestError(1, TestError(2, TestError(3, TestError(2)))));
ASSERT_STREQ(err.what(), "Hey!\n Trace: How\n Trace: You\n Trace: Doin\n Trace: You\n");
ASSERT_STREQ(err.what().c_str(), "Hey!\n Trace: How\n Trace: You\n Trace: Doin\n Trace: You");
}