SERVER-137422Open

Change stream error events: add an explicit ThrowWithoutErrorEvent opt-out and harden the classifier

h2. Context The {{showErrorsAsEvents}} feature converts recoverable, document-scoped failures into {{operationType: "error"}} events. Convertibility is currently determined by the denylist classifier {{{}isConvertibleChangeStreamError{}}}. As a result, a thrown {{tassert}} is still converted. The required-image carve-out avoids conversion by clearing the recorded event identity before rethrowing. h2. Proposed change Add an explicit opt-out mechanism—a {{ThrowWithoutErrorEvent(...)}} ma

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

No components specified.

Labels
Tags and classification

No labels assigned.