[CDRIVER-4425] Provide access to raw result document when the server returns an error for a command Created: 11/Jul/22  Updated: 28/Oct/23  Resolved: 16/Nov/22

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.24.0

Type: New Feature Priority: Unknown
Reporter: PM Bot Assignee: Gil Alon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPC-2165 Expose server error replies in BulkWr... Closed
Issue split
split from DRIVERS-2385 Provide access to raw result document... Implementing
Related
related to CDRIVER-3147 CodeNames for command errors not repo... Blocked
related to CDRIVER-4539 /BulkOperation/multiple_errors fails ... Closed
Quarter: FY23Q3
Upstream Changes Summary:

DRIVERS-2385:
Introduces a new expectedError.errorResponse assertion for matching the full command response attached to an exception. Note that some drivers may need to skip tests for BulkWriteException and WriteException.

Drivers should sync unified tests for Collection Management, CRUD, and Unified Test Runner ("valid") with c04f2ec.

Backwards Compatibility: Fully Compatible

 Description   

This ticket was split from DRIVERS-2385, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 16/Nov/22 ]

Author:

{'name': 'Gil Alon', 'email': '47804748+galon1@users.noreply.github.com', 'username': 'galon1'}

Message: CDRIVER-4425 Provide access to raw result if server error occurs (#1144)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/6f46bc04e4ce85d361844f3a32df1d44b4dae3c8

Generated at Wed Feb 07 21:20:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.