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

Docs don't explain what operations can return BulkWriteError

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Documentation

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: