summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-13 21:50:06 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-13 21:50:06 +0100
commit320c20b9538c985005dc850d685eecfc1a5edc98 (patch)
tree52f416fe4b5e5a1471abb44769c6668d0197069b /src/lib/exceptions.h
parentb37249ba5db6bd08fdfe340cec923130ee4cc7b9 (diff)
Give a slightly better error whn trying to add a KDM using add-file (#1035).
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index c2f82e15b..c1b1aef4b 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -252,4 +252,10 @@ public:
{}
};
+class KDMAsContentError : public std::runtime_error
+{
+public:
+ KDMAsContentError ();
+};
+
#endif