1 # SPDX-License-Identifier: GPL-3.0-or-later
3 # This file is part of Nominatim. (https://nominatim.org)
5 # Copyright (C) 2024 by the Nominatim developer community.
6 # For a full list of authors see the git log.
8 Custom exception and error classes for Nominatim.
11 class UsageError(Exception):
12 """ An error raised because of bad user input. This error will usually
13 not cause a stack trace to be printed unless debugging is enabled.