[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: GODRIVER-1788 correctly replace errors in IndexView CreateMany (#543)
Branch: release/1.4
https://github.com/mongodb/mongo-go-driver/commit/3ce1141e4a3514609c22a04bcd66ebaa4239c2a9

Comment by Githook User [ 30/Nov/20 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}

Message: GODRIVER-1788 correctly replace errors in IndexView CreateMany (#543)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/eec641876dd31e226e8a78c3d42d932e4a031b9d

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