Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1283

TransactionExceptions need to be surfaced properly

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 4.0.0
    • None
    • library
    • 1

    Description

      Currently I just raise a generic CouchbaseException. Ideally, we'd have the TransactionOpFailed and TransactionException use CouchbaseException as a base class, and have all the necessary fields in them. In the case of the TransactionException, which is raised when a transaction fails (rather than just an operation failing), we really need derived classes for the failure types (FAIL, EXPIRY, COMMIT_AMBIGUOUS).

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            david.kelly David Kelly (Inactive)
            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