X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a28e158bddaed6c690c13df01bfd18a6dd647485..e1dc4379e0cd100200ac53752442143ca4846fc5:/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.