3 ms·
I’m still using if err == something. I’ve never bothered to use error.Is. Looks like another reason to avoid
by marcrosoft 2y ago
I’m still using if err == something. I’ve never bothered to use error.Is. Looks like another reason to avoid
- zachmu 2y agoThe problem is error wrapping. Somebody deeper in the stack can break your equality check.