Details
-
Epic
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
Description
The driver currently uses a variety of error names. We should come up with an error hierarchy that more closely resembles the domains found in libmongoc (see: Error Reporting).
At a high level, we should probably have logical errors (e.g. invalid argument) and runtime errors (e.g. command failure), which will allow users to infer if an error code comes from the server.
Attachments
Issue Links
- has to be done before
-
SWIFT-314 Gracefully handle errors parsing isMaster responses for SDAM monitoring
-
- Closed
-