summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-06 17:46:24 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-26 17:20:25 +0100
commit54e2644ed4dcc4faf5135e60926cfdda14886fea (patch)
treeca1599fe32e3ace691dffcdb6ded45ad29baea59 /src/lib/exceptions.h
parent1f077d2b791a059ccef4069dca07ead990bd568e (diff)
Support FCP XML files containing subtitles (#2909).
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index 3069d792e..c1bb8f6b6 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -542,4 +542,13 @@ public:
};
+class FCPXMLError : public std::runtime_error
+{
+public:
+ explicit FCPXMLError(std::string s)
+ : std::runtime_error(s)
+ {}
+};
+
+
#endif