[GODRIVER-2697] Rename "WriteException" and "BulkWriteException" to prevent confusion Created: 16/Dec/22  Updated: 08/Jan/24

Status: Backlog
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Go Driver 2.0: Driver
Backwards Compatibility: 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.

Generated at Thu Feb 08 08:39:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.