mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
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.
10 lines
255 B
Python
10 lines
255 B
Python
"""
|
|
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.
|
|
"""
|
|
pass
|