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

Refactor error objects to hold additional data.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.4
    • Component/s: library
    • Labels:
      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

        For Gerrit Dashboard: GOCBC-215
        # Subject Branch Project Status CR V

          Activity

          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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

            • Assignee:
              brett19 Brett Lawson
              Reporter:
              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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.