diff options
Diffstat (limited to 'include/cru/common/platform/Exception.h')
-rw-r--r-- | include/cru/common/platform/Exception.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/cru/common/platform/Exception.h b/include/cru/common/platform/Exception.h new file mode 100644 index 00000000..c1b649f3 --- /dev/null +++ b/include/cru/common/platform/Exception.h @@ -0,0 +1,15 @@ +#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_COPY(PlatformException) + CRU_DEFAULT_MOVE(PlatformException) + + CRU_DEFAULT_DESTRUCTOR(PlatformException) +}; +} // namespace cru::platform |