diff --git a/source/fundamentals/transactions.txt b/source/fundamentals/transactions.txt index 66c82a17..bb3fe403 100644 --- a/source/fundamentals/transactions.txt +++ b/source/fundamentals/transactions.txt @@ -94,9 +94,13 @@ describes these methods: transaction was committed or ended. * - ``and_run()`` - - | Runs the given callback, then commits or ends the transaction. When you - use this method to perform a transaction, the driver automatically - handles any errors, so you can choose to omit error handling code. + - | Runs the given callback, then commits or ends the transaction. The + driver retries callbacks and commits that raise an error with a + ``TRANSIENT_TRANSACTION_ERROR`` label. If they raise any + other error, the driver ends the transaction and returns the error + to the caller. When you use this method to perform a transaction, + the driver automatically handles any errors, so you can choose to omit + error handling code. | | Because the callback returns a future and can be run multiple times, the Rust language closure borrowing rules for captured