Replaced all hardcoded error codes with ker... constants

This commit is contained in:
Dan Čermák
2018-02-16 00:26:50 +01:00
parent d897997b29
commit efe2ccdcb6
80 changed files with 747 additions and 747 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ void testCase(const std::string& file1,
std::cerr << "---> Modifying Exif data\n";
Exiv2::ExifData::iterator pos = ed1.findKey(ek);
if (pos == ed1.end()) {
throw Error(1, "Metadatum with key = " + ek.key() + " not found");
throw Error(kerErrorMessage, "Metadatum with key = " + ek.key() + " not found");
}
pos->setValue(value);