summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-18 00:20:17 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-18 23:30:48 +0100
commit4078aaae757db466d727c667dd9197b56d6b3f58 (patch)
tree47b733b51d838a7da708b9807478de1e166a5b4f /src/exceptions.h
parentcf4e4272f72346c39964b128f78b2297f04dba55 (diff)
Improve errors when verifying a non-DCP directory.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 48961073..78d0943e 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -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
*/