[CSHARP-4720] Add a framework to mark a server version as EOL from drivers PoV Created: 14/Jul/23  Updated: 25/Sep/23  Resolved: 25/Sep/23

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

Type: New Feature Priority: Unknown
Reporter: PM Bot Assignee: James Kovacs
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Upstream Changes Summary:

DRIVERS-2510:
Test that your driver throws an actionable exception message.

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

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



 Comments   
Comment by James Kovacs [ 25/Sep/23 ]

The .NET/C# Driver already produces a similar error message:

Unhandled exception. MongoDB.Driver.MongoIncompatibleDriverException: Server at localhost:47017 reports wire version 5, but this version of the driver requires at least 6 (MongoDB 3.6.0).

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