This proposal builds on the decisions made in our QUIC Exceptions Design proposal.
- Define a new exception type
ProtocolException
, and embed it asHttpRequestException.InnerException
- Throw
ProtocolException
directly fromHttpResponse
content read streams - In case of HTTP/3, embed
QuicException
asProtocolException.InnerException