summaryrefslogtreecommitdiffstats
path: root/engine/include/exception.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-25 02:54:54 +0100
committerNao Pross <naopross@thearcway.org>2019-01-25 02:54:54 +0100
commitf58dea71037dca847e373f6efbf75b6056f212ac (patch)
tree3b9b66379a583eb0b162418d037ec00b66e6bebc /engine/include/exception.hpp
parentUpdate configure.py to default build libflatland.{so, a} (diff)
downloadflatland-f58dea71037dca847e373f6efbf75b6056f212ac.tar.gz
flatland-f58dea71037dca847e373f6efbf75b6056f212ac.zip
It compiles! Probably super broken, but compiles!
Diffstat (limited to 'engine/include/exception.hpp')
-rw-r--r--engine/include/exception.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/include/exception.hpp b/engine/include/exception.hpp
index 47eb272..6f578e8 100644
--- a/engine/include/exception.hpp
+++ b/engine/include/exception.hpp
@@ -3,6 +3,8 @@
#include <exception>
+namespace flat {
+
class FlatException : public std::exception
{
const char * error;
@@ -19,4 +21,6 @@ public:
virtual const char* what() const throw() override;
};
+}
+
#endif