diff options
Diffstat (limited to 'include/cru/common/platform/Exception.hpp')
-rw-r--r-- | include/cru/common/platform/Exception.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/cru/common/platform/Exception.hpp b/include/cru/common/platform/Exception.hpp new file mode 100644 index 00000000..0241947b --- /dev/null +++ b/include/cru/common/platform/Exception.hpp @@ -0,0 +1,15 @@ +#pragma once +#include "../Base.hpp" +#include "../Exception.hpp" + +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 |