File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,13 @@ describes these methods:
94
94
transaction was committed or ended.
95
95
96
96
* - ``and_run()``
97
- - | Runs the given callback, then commits or ends the transaction. When you
98
- use this method to perform a transaction, the driver automatically
99
- handles any errors, so you can choose to omit error handling code.
97
+ - | Runs the given callback, then commits or ends the transaction. The
98
+ driver retries callbacks and commits that raise an error with a
99
+ ``TRANSIENT_TRANSACTION_ERROR`` label. If they raise any
100
+ other error, the driver ends the transaction and returns the error
101
+ to the caller. When you use this method to perform a transaction,
102
+ the driver automatically handles any errors, so you can choose to omit
103
+ error handling code.
100
104
|
101
105
| Because the callback returns a future and can be run multiple
102
106
times, the Rust language closure borrowing rules for captured
You can’t perform that action at this time.
0 commit comments