More player debugging for butler video-full states.
[dcpomatic.git] / src / lib / exceptions.h
index 09db968dc949cbf6973dc8345c284d4c591296c8..fe87ababcad292335b52ed07d0328c19484420bb 100644 (file)
@@ -44,6 +44,14 @@ public:
        {}
 };
 
+class CryptoError : public std::runtime_error
+{
+public:
+       explicit CryptoError (std::string s)
+               : std::runtime_error (s)
+       {}
+};
+
 /** @class EncodeError
  *  @brief A low-level problem with an encoder.
  */
@@ -255,6 +263,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: