[GODRIVER-1991] Investigate how to handle errors from the x package Created: 04/May/21 Updated: 30/Mar/22 |
|
| Status: | Backlog |
| Project: | Go Driver |
| Component/s: | Error Handling |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Isabella Siu (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Description |
|
topology and driver errors from the x package can be returned to users. We don't want to give things from x to users, so we should turn them into a mongo package error type before returning them. Also we should check to see if we are returning any other x package errors. We could also provide more functionality in the form of helpers for users to handle returned x-package errors. |
| Comments |
| Comment by Benji Rewis (Inactive) [ 26/May/21 ] |