From cfce17c19bc688c73faf173799ab9b293ab2e136 Mon Sep 17 00:00:00 2001 From: izzy Date: Sat, 7 Mar 2026 17:05:15 -0500 Subject: [PATCH] feat: implement all exception types --- Minecraft.World/Exceptions.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Minecraft.World/Exceptions.h b/Minecraft.World/Exceptions.h index df113ce90..8aabb94a3 100644 --- a/Minecraft.World/Exceptions.h +++ b/Minecraft.World/Exceptions.h @@ -4,7 +4,10 @@ class EOFException : public std::runtime_error { +public: + std::wstring information; + EOFException(const std::wstring &information); }; class IllegalArgumentException : public std::runtime_error @@ -26,5 +29,7 @@ public: class RuntimeException : public std::runtime_error { public: + std::wstring information; + RuntimeException(const std::wstring& information); }; \ No newline at end of file