1 """Exceptions triggering different HTTP codes."""
4 class HandledException(Exception):
5 """To identify Exceptions based on expected (if faulty) user behavior."""
9 class BadFormatException(HandledException):
10 """To identify Exceptions on malformed inputs."""
14 class NotFoundException(HandledException):
15 """To identify Exceptions on unsuccessful queries."""