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.
3.6 KiB
3.6 KiB
errors.Is is supposed to used for equality of errors, not for type assertions. That's what errors.As is there for.