2.22.0

(feat): Add redact-response-body-on-error option to prevent raw response bodies from leaking into exception messages and logs. When enabled, deserialization error exceptions pass null instead of the raw response body, streaming errors use a fixed message with the original exception as an inner exception, and the base API exception class includes a custom ToString() override that excludes the response body.

1generators:
2 - name: fernapi/fern-csharp-sdk
3 config:
4 redact-response-body-on-error: true