Hacker News new | ask | show | jobs
by marcrosoft 747 days ago
I’m still using if err == something. I’ve never bothered to use error.Is. Looks like another reason to avoid
1 comments

The problem is error wrapping. Somebody deeper in the stack can break your equality check.