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