Docs don't explain what operations can return BulkWriteError

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: