[GODRIVER-1131] QueryFailureError not wrapped in CommandError Created: 12/Jun/19  Updated: 28/Oct/23  Resolved: 14/Jun/19

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.4

Type: Bug Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by GODRIVER-1141 Backport "QueryFailureError not wrapp... Closed
Depends

 Description   

We should be able to wrap a QueryFailureError from legacy operations into a CommandError with a message and code.



 Comments   
Comment by Githook User [ 14/Jun/19 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: Correctly handle and convert driver.QueryFailureError

GODRIVER-1131

Change-Id: I2cf0257a925db3b8be3ee195b93dadd0ee60fb10
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/2b8bc9cb7b8fe327610d5ddb097dce362aa39eac

Comment by Divjot Arora (Inactive) [ 13/Jun/19 ]

CR: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/458013

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