Improve errors when verifying a non-DCP directory.
[libdcp.git] / src / exceptions.h
index 48961073cf1138d4832816789bd2fbd2727266a2..78d0943e6eac7b6d5b683abd6ee8d156f0dc5089 100644 (file)
@@ -147,6 +147,16 @@ public:
 };
 
 
+/** @class MissingAssetmapError
+ *  @brief Thrown when no ASSETMAP was found when trying to read a DCP
+ */
+class MissingAssetmapError : public ReadError
+{
+public:
+       explicit MissingAssetmapError (boost::filesystem::path dir);
+};
+
+
 /** @class XMLError
  *  @brief An XML error
  */