Replaced all hardcoded error codes with ker... constants
This commit is contained in:
@@ -24,7 +24,7 @@ try {
|
||||
if (iptcData.empty()) {
|
||||
std::string error(argv[1]);
|
||||
error += ": No IPTC data found in the file";
|
||||
throw Exiv2::Error(1, error);
|
||||
throw Exiv2::Error(Exiv2::kerErrorMessage, error);
|
||||
}
|
||||
|
||||
Exiv2::IptcData::iterator end = iptcData.end();
|
||||
|
||||
Reference in New Issue
Block a user