1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-12 14:29:50 +00:00

Move ValidationError to commonlib.

This commit is contained in:
King_DuckZ 2015-12-13 16:33:58 +00:00
parent 986f0c8db3
commit 93a5130cc5
10 changed files with 77 additions and 47 deletions

View file

@ -56,7 +56,7 @@ int main (int parArgc, char* parArgv[]) {
std::cerr << err.what() << "\nUse --help for help" << std::endl;
return 2;
}
catch (const din::ValidationError& err) {
catch (const dinlib::ValidationError& err) {
std::cerr << "Unrecognized id \"" << err.raw_value() << "\", see --help for usage details\n";
return 2;
}