File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -95,11 +95,12 @@ describes these methods:
9595
9696 * - ``and_run()``
9797 - | Runs the given callback, then commits or ends the transaction. If
98- the callback raises a transient transaction error, the driver retries
99- the callback. If the callback raises any other error, the driver
100- ends the transaction and returns the error to the caller. When
101- you use this method to perform a transaction, the driver automatically
102- handles any errors, so you can choose to omit error handling code.
98+ the callback raises an error with a ``TRANSIENT_TRANSACTION_ERROR``
99+ label, the driver retries the callback. If the callback raises 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.
103104 |
104105 | Because the callback returns a future and can be run multiple
105106 times, the Rust language closure borrowing rules for captured
You can’t perform that action at this time.
0 commit comments