diff --git a/source/transactions-convenient-api/transactions-convenient-api.rst b/source/transactions-convenient-api/transactions-convenient-api.rst index 58310303b2..81e6171324 100644 --- a/source/transactions-convenient-api/transactions-convenient-api.rst +++ b/source/transactions-convenient-api/transactions-convenient-api.rst @@ -303,13 +303,13 @@ Errors handling inside the callback ----------------------------------- Drivers MUST document that the callback MUST NOT silently swallow errors that -do not have the "TransientTransactionError" label. Such errors abort the -transaction on the server; trying to commit aborted transaction will result in -an error. +do not have the "TransientTransactionError" label. Such errors abort +the transaction on the server; trying to commit an aborted transaction will +result in an error. -Drivers SHOULD recommend that the callback re-throw errors that do not have the -"TransientTransactionError" label or otherwise using Core Transaction API if -they want to handle errors in a custom way. +Drivers SHOULD recommend that the callback re-throw errors that do not have +the "TransientTransactionError" label. Drivers SHOULD also recommend using +Core Transaction API if a user wants to handle errors in a custom way. Test Plan ========= @@ -506,6 +506,7 @@ client-side operation timeout, withTransaction can continue to use the Changes ======= +:2023-11-15: Document error handling inside the callback. :2022-10-05: Remove spec front matter and reformat changelog. :2022-01-19: withTransaction applies timeouts per the client-side operations timeout specification.