lastHeadersProviderError property

Object? lastHeadersProviderError
getter/setter pair

The last failure from StreamableHttpTransportConfig.headersProvider.

Exposed so a host can tell "the origin refused us" from "we never attached what the origin wanted" — those look identical on the wire and send whoever is debugging to different places.

Implementation

Object? lastHeadersProviderError;