Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-828

Create mongo.CommandError to wrap command.Error

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-rc1
    • Affects Version/s: None
    • Component/s: CRUD
    • None

      The command.Error type is accessed by users when they need to do manual retrying of transactions. This type is currently within the x/ directory and is likely to change or be moved in the future. As part of GODRIVER-793, wrap instances of command.Error with a newly created mongo.CommandError. This new error should have all the same fields and functionality of command.Error.

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: