from ...exceptions import (
MinosException,
)
[docs]class DatabaseClientException(MinosException):
"""Base exception for database client."""
[docs]class ConnectionException(DatabaseClientException):
"""Exception to be raised when database client is not able to connect to the database."""
[docs]class IntegrityException(DatabaseClientException):
"""Exception to be raised when an integrity check is not satisfied."""
[docs]class ProgrammingException(DatabaseClientException):
"""Exception to be raised when an integrity check is not satisfied."""