[GODRIVER-1788] Audit missing replaceErrors calls Created: 12/Nov/20 Updated: 28/Oct/23 Resolved: 30/Nov/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Isabella Siu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Some functions (e.g. IndexView.CreateOne/CreateMany) are missing replaceErrors calls, which causes them to return error types from the "x" package. We should audit all of these to make sure the errors are translated. This will also be necessary for client-side operations timeout as that project will be adding logic to processError to correctly transform timeout errors. |
| Comments |
| Comment by Githook User [ 30/Nov/20 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}Message: |
| Comment by Githook User [ 30/Nov/20 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}Message: |