Nominatim/nominatim/errors.py
2021-01-30 16:42:25 +01:00

9 lines
246 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.
"""