-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Error Handling
-
None
Implement generic error helpers in mongo/errors.go: HasErrorMessage, HasErrorCode and HasErrorLabels. These functions should take a generic error and try to access Message, Code and Labels fields if they exist.
- is related to
-
GODRIVER-1991 Investigate how to handle errors from the x package
- Backlog
-
GODRIVER-1992 Implement ServerError interface for driver errors
- Closed