From 491edba4e79656a045103a284c65b846a167d2ff Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 21 Jun 2018 22:33:02 +0100 Subject: Add type for text content (CCAP/subtitle). --- src/lib/exceptions.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/exceptions.h') 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: -- cgit v1.2.3