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

Rename "WriteException" and "BulkWriteException" to prevent confusion

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            preston.vasquez@mongodb.com Preston Vasquez
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None