endurox.tpabort

endurox.tpabort(flags: int = 0) None

Abort global transaction.

For more details see tpabort(3) C API call.

Raises:

AtmiException

Following error codes may be present:
TPEINVAL - Invalid flags passed.
TPETIME - Transaction manager timeout.
TPEABORT - Global transaction was aborted (due to marking or error error during two phase commit).
TPEHAZARD - Partial commit and/or abort.
TPEHEURISTIC - Partial commit and/or abort.
TPEPROTO - Invalid call sequence.
TPESYSTEM - System error occurred.
TPEOS - Operating system error occurred.

Parameters:

flags (int) – RFU, default value is 0.