This is just comfy I think

This commit is contained in:
irisz64
2025-08-01 17:44:34 +02:00
parent c662c3ff20
commit 812b905bdf

View File

@@ -66,6 +66,14 @@ struct Error {
return std::format(fmt, std::forward<Args>(args)...);
}
void SetHandled() {
severity = NONE;
}
bool IsHandled() {
return severity == NONE;
}
static Error& Get() {
static Error instance;
return instance;