Try to warn if we're running the 32-bit version on 64-bit windows (WoW64) (#1569).
[dcpomatic.git] / src / lib / exceptions.h
index eceafa10501d656a55ef78961590ecaff72108b7..f6b3bd902dd7a0cc8df5201ded9c08122bdd6989 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.
  */
@@ -277,4 +285,11 @@ public:
        KDMAsContentError ();
 };
 
+class GLError : public std::runtime_error
+{
+public:
+       GLError (char const * last, int e);
+};
+
+
 #endif