summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-06-21 22:33:02 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:36:56 +0100
commit491edba4e79656a045103a284c65b846a167d2ff (patch)
treec11e2a9f7b7f097a2320f2b6a21e69a1aab9b581 /src/lib/exceptions.h
parent26acd1ec8426d8be48c37ca20b3af26b4bc73fa7 (diff)
Add type for text content (CCAP/subtitle).
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index 09db968dc..eceafa105 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -255,6 +255,14 @@ public:
{}
};
+class MetadataError : public std::runtime_error
+{
+public:
+ explicit MetadataError (std::string s)
+ : std::runtime_error (s)
+ {}
+};
+
class OldFormatError : public std::runtime_error
{
public: