Thrown when the mTLS (RFC 8705) configuration is invalid: useMtls: true
without a customFetch, combined with clientSecret/clientAssertionSigningKey
or an explicit clientAuthMethod, or when the discovery document lacks
mtls_endpoint_aliases.
Catch by error.code (a value from MtlsErrorCode) rather than
instanceof to be bundler-safe.
Thrown when the mTLS (RFC 8705) configuration is invalid:
useMtls: truewithout acustomFetch, combined withclientSecret/clientAssertionSigningKeyor an explicitclientAuthMethod, or when the discovery document lacksmtls_endpoint_aliases.Catch by
error.code(a value from MtlsErrorCode) rather thaninstanceofto be bundler-safe.