summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
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.cc
parentcf4e4272f72346c39964b128f78b2297f04dba55 (diff)
Improve errors when verifying a non-DCP directory.
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index 30d11a68..3d9b92ca 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -191,3 +191,10 @@ NoReelsError::NoReelsError ()
}
+
+MissingAssetmapError::MissingAssetmapError (boost::filesystem::path dir)
+ : ReadError (String::compose("Could not find ASSETMAP nor ASSETMAP.xml in '%1'", dir.string()))
+{
+
+}
+