mysqlx.OperationalError

class mysqlx.OperationalError(msg: str | None = None, errno: int | None = None, values: Tuple[int | str, ...] | None = None, sqlstate: str | None = None)

Bases: DatabaseError

Exception for errors related to the database’s operation.

args
with_traceback()

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