dtls icon indicating copy to clipboard operation
dtls copied to clipboard

Change how we do temporary errors to match upstream

Open Sean-Der opened this issue 2 years ago • 1 comments

When upgrading the linters I found this discussion.

We should evaluate if we should change how we return temporary errors.

Sean-Der avatar Apr 25 '22 19:04 Sean-Der

I'm not very sure what doesn't match upstream at now. https://github.com/golang/go/issues/32463 was to drop var ErrTemporary not interface { Temporary() }. We don't have var ErrTemporary and only have implementation of interface { Temporary() } (TemporaryError struct) which matches upstream API.

at-wat avatar Apr 26 '22 01:04 at-wat