Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1298

Mask underlying errors in TransactionOperationFailed

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.1, core-10.1.3
    • None
    • None
    • 1

    Description

      When we return a TOF to the user then we return the underlying error cause when Unwrap is used. We have an issue that if we return errors like doc not found or doc exists for a situation where the doc involved is actually ancillary to the transaction then the user could catch it and it won't be doing what they expect. TOF is meant to be opaque anyway so we should mask the underlying error and in the case of doc not found return that error directly when applicable.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty