summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.cc
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.cc
parent2d91882ad6d4e32723f03557f38ff7f1ae319763 (diff)
Basics of OpenGL viewer.
Diffstat (limited to 'src/lib/exceptions.cc')
-rw-r--r--src/lib/exceptions.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc
index 481d2e89d..c86f98da2 100644
--- a/src/lib/exceptions.cc
+++ b/src/lib/exceptions.cc
@@ -100,3 +100,9 @@ KDMError::KDMError (string s, string d)
{
}
+
+GLError::GLError (char const * last, int e)
+ : runtime_error (String::compose("%1 failed %2", last, e))
+{
+
+}