remove templating & simplify error message

+ clang-format in Error files
+ Remove AnyError
This commit is contained in:
Luis Díaz Más
2022-03-08 19:52:21 +01:00
committed by Luis Diaz
parent 96f7f2e4c5
commit 7119b7676f
37 changed files with 288 additions and 351 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ int main(int argc, char* const argv[])
try {
std::cout << exifData[key] << std::endl;
} catch (Exiv2::AnyError& e) {
} catch (Exiv2::Error& e) {
std::cerr << "Caught Exiv2 exception '" << e << "'" << std::endl;
exit(3);
} catch ( ... ) {