Return wrapped network.ErrReset
error type with more info
#3156
Labels
exp/beginner
Can be confidently tackled by newcomers
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
P2
Medium: Good to have, but can wait until someone steps up
Right now we replace specific stream errors with
network.ErrReset
(example). We should instead return a new error type that unwraps to anetwork.ErrReset
with a.Unwrap() []error
method and includes addition error information gleaned from the transport. This is at least a problem in the WebTransport and QUIC transports. Note that we probably want the multi-error return version and return both a network.ErrReset and the underlying stream error.The text was updated successfully, but these errors were encountered: