diff options
Diffstat (limited to 'include/cru/platform/exception.hpp')
-rw-r--r-- | include/cru/platform/exception.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/cru/platform/exception.hpp b/include/cru/platform/exception.hpp new file mode 100644 index 00000000..6dae08c5 --- /dev/null +++ b/include/cru/platform/exception.hpp @@ -0,0 +1,11 @@ +#pragma once +#include "cru/common/pre_config.hpp" + +#include <stdexcept> + +namespace cru::platform { +class PlatformException : public std::runtime_error { + public: + using runtime_error::runtime_error; // inherent constructors +}; +} // namespace cru::platform |