mysqlx.Error

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

Bases: Exception

Exception that is base class for all other error exceptions.

args
with_traceback()

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