[GODRIVER-2616] Change CommadFailedEvent.Failure type to error Created: 26/Oct/22 Updated: 14/Nov/23 Resolved: 14/Nov/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Preston Vasquez |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Go Driver 2.0: Driver |
| Backwards Compatibility: | Major Change |
| Documentation Changes: | Not Needed |
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
Proposed in PR https://github.com/mongodb/mongo-go-driver/pull/1105 Change CommandFailedEvent.Failure type from string to error to allow conveying additional error information and to match the type of other Failure fields, like ServerHeartbeatFailedEvent.Failure. |
| Comments |
| Comment by Githook User [ 14/Nov/23 ] |
|
Author: {'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}Message: |