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

Refactor error objects to hold additional data.

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.4
    • library
    • None

    Description

      The current kv error objects are simply a wrapper around a singular code.  This does not allow us to store additional information such as KV Error Map messages or Enhanced Error Message contexts.  The SDK should be refactored such that error objects can hold additional contextual information.  Note that in the first variant of this implementation, the error objects should remain static and a later commit can be introduced to optional enable dynamic errors (this is for backwards compatibility reasons).

      Attachments

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

        Activity

          Build 5.0.0-3507 contains gocbcore commit ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d with commit message:
          GOCBC-215: Refactor errors objects to support extra information.
          https://github.com/couchbase/gocbcore/commit/ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d

          build-team Couchbase Build Team added a comment - Build 5.0.0-3507 contains gocbcore commit ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d with commit message: GOCBC-215 : Refactor errors objects to support extra information. https://github.com/couchbase/gocbcore/commit/ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d

          Build 5.0.1-4671 contains gocbcore commit ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d with commit message:
          GOCBC-215: Refactor errors objects to support extra information.
          https://github.com/couchbase/gocbcore/commit/ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d

          build-team Couchbase Build Team added a comment - Build 5.0.1-4671 contains gocbcore commit ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d with commit message: GOCBC-215 : Refactor errors objects to support extra information. https://github.com/couchbase/gocbcore/commit/ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d

          Build 5.1.0-1448 contains gocbcore commit ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d with commit message:
          GOCBC-215: Refactor errors objects to support extra information.
          https://github.com/couchbase/gocbcore/commit/ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d

          build-team Couchbase Build Team added a comment - Build 5.1.0-1448 contains gocbcore commit ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d with commit message: GOCBC-215 : Refactor errors objects to support extra information. https://github.com/couchbase/gocbcore/commit/ace0f2ec0d007700390c2eb073a6a7fc9ee58f2d

          Build 5.1.0-1448 contains gocb commit 0cd63ba8b594091ea0005ec50ee21299e0b22d97 with commit message:
          GOCBC-215: Refactor errors objects to support extra information.
          https://github.com/couchbase/gocb/commit/0cd63ba8b594091ea0005ec50ee21299e0b22d97

          build-team Couchbase Build Team added a comment - Build 5.1.0-1448 contains gocb commit 0cd63ba8b594091ea0005ec50ee21299e0b22d97 with commit message: GOCBC-215 : Refactor errors objects to support extra information. https://github.com/couchbase/gocb/commit/0cd63ba8b594091ea0005ec50ee21299e0b22d97

          Build 5.0.1-4738 contains gocb commit 0cd63ba8b594091ea0005ec50ee21299e0b22d97 with commit message:
          GOCBC-215: Refactor errors objects to support extra information.
          https://github.com/couchbase/gocb/commit/0cd63ba8b594091ea0005ec50ee21299e0b22d97

          build-team Couchbase Build Team added a comment - Build 5.0.1-4738 contains gocb commit 0cd63ba8b594091ea0005ec50ee21299e0b22d97 with commit message: GOCBC-215 : Refactor errors objects to support extra information. https://github.com/couchbase/gocb/commit/0cd63ba8b594091ea0005ec50ee21299e0b22d97

          People

            brett19 Brett Lawson
            brett19 Brett Lawson
            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