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

Rename "WriteException" and "BulkWriteException" to prevent confusion

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • 2.0.0
    • None
    • None
    • None
    • Major Change

    Description

      The current error names WriteException and BulkWriteException are confusing. It's not clear when a WriteError vs a WriteException or a BulkWriteError vs a BulkWriteException are expected. Additionally, "Exception" implies a different type of error that does not exist in Go, so error type names ending in "Exception" are confusing. Rename the errors to prevent confusion and follow Go error type naming idioms.

      Definition of done:

      • Rename WriteException and BulkWriteException to follow standard Go error type naming idioms and prevent confusion with WriteError and BulkWriteError.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: