From 5376efe7e63ef3c848a971ea845a16c7e030d153 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 17:38:33 +0100 Subject: move Exception to backend --- backend/Exception.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 backend/Exception.h (limited to 'backend/Exception.h') diff --git a/backend/Exception.h b/backend/Exception.h new file mode 100644 index 0000000..bc65aa0 --- /dev/null +++ b/backend/Exception.h @@ -0,0 +1,14 @@ +#pragma once + +#include "backend/String.h" + +class Exception { +public: + Exception(const char * fmt, ...); + const char * what(); + +protected: + Exception() = default; + String error; +}; + -- cgit v1.2.3