2023-05-21 01:50:44 +01:00
|
|
|
"""This module is a collection of project-wide exceptions."""
|
|
|
|
|
|
|
|
|
|
|
|
class NotFoundException(Exception):
|
|
|
|
"""Raised when a resource was unexpectedly not found."""
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class DataIntegrityException(Exception):
|
2023-05-21 02:20:48 +01:00
|
|
|
"""Raised to prevent a semantically invalid database operation."""
|
2023-05-21 01:50:44 +01:00
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class InvalidFilterParameterException(Exception):
|
|
|
|
"""Raised when a query filter parameter is invalid."""
|
|
|
|
|
|
|
|
pass
|