forked from quic-go/quic-go
errors.Is is supposed to used for equality of errors, not for type assertions. That's what errors.As is there for.
597 B
597 B
errors.Is is supposed to used for equality of errors, not for type assertions. That's what errors.As is there for.