From 812b905bdf18c23487f6c6ba0aa00f8e04b898a1 Mon Sep 17 00:00:00 2001 From: irisz64 Date: Fri, 1 Aug 2025 17:44:34 +0200 Subject: [PATCH] This is just comfy I think --- src/utils/ErrorData.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/utils/ErrorData.hpp b/src/utils/ErrorData.hpp index 5baa1624..eacf7823 100644 --- a/src/utils/ErrorData.hpp +++ b/src/utils/ErrorData.hpp @@ -66,6 +66,14 @@ struct Error { return std::format(fmt, std::forward(args)...); } + void SetHandled() { + severity = NONE; + } + + bool IsHandled() { + return severity == NONE; + } + static Error& Get() { static Error instance; return instance;