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

Ensure that all errors are created as pointers & fix TimeoutError's string representation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • core-10.4.0, 2.8.0
    • None
    • None
    • None
    • 1
    • SDK42, SDK10: FIT, PthFndng, 3.5 Rel

    Description

      Some errors are not created as pointers. Ensure that all of them are consistent. TimeoutError's Error() method does not always result in a useful string representation because while Error() is a value receiver, even though it uses UnmarshalJSON() internally it can't call our custom marshalling method which is implemented as a pointer receiver

      As a part of this we should check if other SDKs are using the short identifiers in timeouts and probably replace them with full identifiers.

      Attachments

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

        Activity

          People

            Dimitris.Christodoulou Dimitris Christodoulou
            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