-
Type: New Feature
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
None
Background & Motivation
There is an internal use case to check for a field in server error replies.
This field is not exposed by any of the existing error types: CommandError, WriteError, WriteException, BulkWriteException.
Scope
Expose the full server reply in error types.
Investigate possible options for exposing this API.
Consider adding a method to the ServerError interface.
An alternative is to return a wrapped error containing the full server reply.
- related to
-
GODRIVER-2487 Provide access to raw result document when the server returns an error for a command
- Closed