aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/base/platform/Exception.h')
-rw-r--r--include/cru/base/platform/Exception.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cru/base/platform/Exception.h b/include/cru/base/platform/Exception.h
new file mode 100644
index 00000000..74dd6ad4
--- /dev/null
+++ b/include/cru/base/platform/Exception.h
@@ -0,0 +1,12 @@
+#pragma once
+#include "../Base.h"
+#include "../Exception.h"
+
+namespace cru::platform {
+class CRU_BASE_API PlatformException : public Exception {
+ public:
+ using Exception::Exception; // inherit constructors
+
+ CRU_DEFAULT_DESTRUCTOR(PlatformException)
+};
+} // namespace cru::platform