NODE-7988Investigating

Add a supported isConnectionError helper

Could the Node.js driver expose a supported {{isConnectionError(err)}} helper? We're classifying Atlas Remote MCP failures as expected vs. alertable, and maintaining our own list of driver error types is brittle. It'd be useful if it covered network error subclasses, SRV/TXT DNS failures, and the underlying causes in {{{}MongoServerSelectionError{}}}. Context: [Slack thread|https://mongodb.slack.com/archives/C03MPA2FY6S/p1793696623790289]

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
Error
Labels
Tags and classification
internal-userneeds-design