[GODRIVER-170] Design and implement first-draft of custom errors for the bson, builder, and elements packages Created: 14/Dec/17 Updated: 27/Oct/23 Resolved: 10/Jan/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Error Handling |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Epic Link: | GODRIVER-114 | ||||
| Description |
|
The errors within the bson, builder, and elements package don't provide much information. We need to add a custom error type for each package that ensures that errors have enough information contained within to debug problems and pinpoint where a particular error originated from. For instance, the ErrTooSmall error is used in several places, we should ensure that when the equivalent message is returned with the new custom errors that it is easy to pinpoint from where this error is originating. |
| Comments |
| Comment by Ian Whalen (Inactive) [ 10/Jan/19 ] |
|
closing as gone away: build and element packages no longer exist and bson has custom errors. |