Rename "WriteException" and "BulkWriteException" to prevent confusion

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Error Handling
    • 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
              Reporter:
              Matt Dale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: