Previous topic

asyncqlio.backends.mysql.aiomysql

Next topic

asyncqlio.meta

This Page

asyncqlio.exc

Exceptions for asyncqlio.

Exceptions

DatabaseException The base class for ALL exceptions.
IntegrityError Raised when a column’s integrity is not preserved (e.g.
NoSuchColumnError Raised when a non-existing column is requested.
OperationalError Raised when an operational error has occurred.
SchemaError Raised when there is an error in the database schema.
UnsupportedOperationException Raised when an operation that the database driver doesn’t support is attempted.
exception asyncqlio.exc.DatabaseException[source]

Bases: Exception

The base class for ALL exceptions.

Catch this if you wish to catch any custom exception raised inside the lib.

with_traceback()

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

exception asyncqlio.exc.SchemaError[source]

Bases: asyncqlio.exc.DatabaseException

Raised when there is an error in the database schema.

with_traceback()

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

exception asyncqlio.exc.IntegrityError[source]

Bases: asyncqlio.exc.DatabaseException

Raised when a column’s integrity is not preserved (e.g. null or unique violations).

with_traceback()

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

exception asyncqlio.exc.OperationalError[source]

Bases: asyncqlio.exc.DatabaseException

Raised when an operational error has occurred.

with_traceback()

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

exception asyncqlio.exc.NoSuchColumnError[source]

Bases: asyncqlio.exc.DatabaseException

Raised when a non-existing column is requested.

with_traceback()

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

exception asyncqlio.exc.UnsupportedOperationException[source]

Bases: asyncqlio.exc.DatabaseException

Raised when an operation that the database driver doesn’t support is attempted.

with_traceback()

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