diff options
Diffstat (limited to 'backend/Exception.h')
-rw-r--r-- | backend/Exception.h | 14 |
1 files changed, 14 insertions, 0 deletions
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; +}; + |