TableTransactionError Class

There is a failure in the transaction operations.

Inheritance
TableTransactionError

Constructor

TableTransactionError(**kwargs: Any)

Variables

Name Description
index
int

If available, the index of the operation in the transaction that caused the error. Defaults to 0 in the case where an index was not provided, or the error applies across operations.

error_code

The error code.

message
str

The error message.

additional_info

Any additional data for the error.

Methods

add_note

Exception.add_note(note) – add a note to the exception

raise_with_traceback

Raise the exception with the existing traceback.

Deprecated since version 1.22.0: This method is deprecated as we don't support Python 2 anymore. Use raise/from instead.

with_traceback

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

add_note

Exception.add_note(note) – add a note to the exception

add_note()

raise_with_traceback

Raise the exception with the existing traceback.

Deprecated since version 1.22.0: This method is deprecated as we don't support Python 2 anymore. Use raise/from instead.

raise_with_traceback() -> None

with_traceback

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

with_traceback()

Attributes

args