[GODRIVER-1785] Return a status from ProcessError Created: 09/Nov/20  Updated: 28/Oct/23  Resolved: 04/Dec/20

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

Type: Improvement 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


 Description   

For some users of the unstable driver APIs, it'd be useful to have ProcessError return a status to indicate what it actually did. This can be an enum with values like ClearedPool and MarkedUnknown. If there are cases where it could potentially do multiple things, we could return a simple struct with boolean fields instead.



 Comments   
Comment by Githook User [ 04/Dec/20 ]

Author:

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

Message: GODRIVER-1785 Add a status return to the ProcessError function (#547)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/47a09d8da7838860383c69508a7ec89b62e160c3

Comment by Divjot Arora (Inactive) [ 02/Dec/20 ]

https://github.com/mongodb/mongo-go-driver/pull/547

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