minos.common.database.clients.exceptions

Exceptions

ConnectionException

Exception to be raised when database client is not able to connect to the database.

DatabaseClientException

Base exception for database client.

IntegrityException

Exception to be raised when an integrity check is not satisfied.

ProgrammingException

Exception to be raised when an integrity check is not satisfied.

exception DatabaseClientException[source]

Bases: MinosException

Base exception for database client.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ConnectionException[source]

Bases: DatabaseClientException

Exception to be raised when database client is not able to connect to the database.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception IntegrityException[source]

Bases: DatabaseClientException

Exception to be raised when an integrity check is not satisfied.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ProgrammingException[source]

Bases: DatabaseClientException

Exception to be raised when an integrity check is not satisfied.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.