Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2850

SubDocument error statuses are defined on ResponseStatus

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • backlog-3.0
    • None
    • None
    • None
    • 1

    Description

      See also: NCBC-2831

      Status like ResponseStatus.SubDocPathInvalid are actually returned in the body of a SubDocument error response, not the top-level status.

       

      This leads to them being possibly thrown in ResponseStatusExtensions.CreateException, but that's probably unreachable code as they will never actually be encountered at that level.

       

      We should check the protocol and be absolutely sure what the server could possibly return, then move those SubDocument error statuses to a separate enum and put the handling/throwing of those exceptions under a different method.

      Attachments

        Issue Links

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

          Activity

            People

              jmorris Jeff Morris
              richard.ponton Richard Ponton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty