]> git.openstreetmap.org Git - nominatim.git/commit
introduce custom UsageError
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 30 Jan 2021 15:20:10 +0000 (16:20 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 30 Jan 2021 15:20:10 +0000 (16:20 +0100)
commite629a175ed0a1c54398622251f56d56baeef768f
tree383a3d2693d461cb8bcc66de8ccd126fc3c7bd84
parent45ea73913f994df4c00cacfcf0d398db84329798
introduce custom UsageError

This is a exception to be thrown when the error occures because
of bad user data. We don't want to print a full stack trace in
these cases but just tell the user what went wrong.
nominatim/cli.py
nominatim/config.py
nominatim/db/connection.py
nominatim/db/status.py
nominatim/errors.py [new file with mode: 0644]
nominatim/tools/replication.py
test/python/test_cli.py
test/python/test_config.py
test/python/test_db_connection.py
test/python/test_db_status.py
test/python/test_tools_replication.py