Hacker News new | ask | show | jobs
by usrbinbash 1454 days ago
I can define error values, even wrap them, and check against them, which also works on wrapped errors without having to unwrap them first:

https://go.dev/play/p/C_Yv5s6USma