Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Dimitris Christodoulou
Dimitris ChristodoulouReporter
Dimitris Christodoulou
Dimitris ChristodoulouSprint
None
Story Points
2
Priority
Instabug
Open Instabug
Sentry
Sentry
Zendesk Support
Zendesk Support
Created June 17, 2024 at 9:08 PM
Updated June 19, 2024 at 11:24 AM
Resolved June 19, 2024 at 11:24 AM
Currently, the only way to propagate an error from the transactions lambda and trigger a rollback is to throw an exception. This does not fit with the rest of the Public API. We should make the transactions lambda return a couchbase::error, which when set triggers a rollback in the same way that throwing an exception would.
Refer to "Exceptions Raised by the Application Lambda" in the Transactions Design document for details.