dtls
dtls copied to clipboard
Change how we do temporary errors to match upstream
When upgrading the linters I found this discussion.
We should evaluate if we should change how we return temporary errors.
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.