summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 1895f11..e0d0e90 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -90,6 +90,15 @@ private:
};
+class WebVTTHeaderError : public WebVTTError
+{
+public:
+ WebVTTHeaderError()
+ : WebVTTError("No WEBVTT header found")
+ {}
+};
+
+
class SSAError : public std::runtime_error
{
public: