News for hackers. Stuff that matters.
Re:Go Replaces Interface{} with 'Any' by tptacek on Tuesday December 14, 2021 @07:16PM (#29560112)
You don't. That's why Go errors are typed. You use `errors.Is` to check if any of the errors in a chain of wrapped errors is of a particular kind. It doesn't grovel through strings to answer that question.

It is very weird that this subthread starts with "current state of the art".

There are no comments on this comment yet.