summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-09 00:49:58 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-09 00:49:58 +0100
commit00881d16cef59e17d793561bd27c09028fe6571d (patch)
treeab7ca7d9b5bf96bc55da5291fe7911e9f8bf834f /src/lib/exceptions.h
parent2d91882ad6d4e32723f03557f38ff7f1ae319763 (diff)
Basics of OpenGL viewer.
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index fe87ababc..f6b3bd902 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -285,4 +285,11 @@ public:
KDMAsContentError ();
};
+class GLError : public std::runtime_error
+{
+public:
+ GLError (char const * last, int e);
+};
+
+
#endif