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

Docs don't explain what operations can return BulkWriteError

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Documentation

      From inspecting the code, it looks like InsertMany can return BulkWriteError, but this isn't apparent from docs. Because all errors are hidden behind the error interface, users need a hint about when they could usefully type switch on an error to check for BulkWriteError.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: