X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4da4cbfe27a576ae011430b2de205c74435e241b..046665f8d9b0cd11d59c8470e34833bc02b569ce:/src/nominatim_db/errors.py diff --git a/src/nominatim_db/errors.py b/src/nominatim_db/errors.py index c7331a89..98fe693d 100644 --- a/src/nominatim_db/errors.py +++ b/src/nominatim_db/errors.py @@ -8,6 +8,7 @@ Custom exception and error classes for Nominatim. """ + class UsageError(Exception): """ An error raised because of bad user input. This error will usually not cause a stack trace to be printed unless debugging is enabled.