[GODRIVER-2929] Improve error messaging by wrapping errors in Go Driver 1.x Created: 02/Aug/23 Updated: 09/Jan/24 |
|
| Status: | Backlog |
| Project: | Go Driver |
| Component/s: | Error Handling |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | rp-track | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
There are a bunch of places we could improve information in errors returned by the Go driver by wrapping errors with additional context. In some cases we can't change errors because it would break backward compatibility (see GODRIVER-2721 for the related Go Driver 2.0 ticket), but in many cases we can wrap errors. Definition of done:
|
| Comments |
| Comment by Githook User [ 04/Nov/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: GODRIVER-2929 Add the ability to join multiple errors into one. (#1370) |
| Comment by Githook User [ 18/Aug/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: GODRIVER-2929 Replace all uses of errutil.WrapErrorf with fmt.Errorf (#1354) |
| Comment by Githook User [ 17/Aug/23 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: GODRIVER-2929 Make driver.ErrDeadlineWouldBeExceeded wrap context.DeadlineExceeded (#1355) |