3 ms·
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/
by usrbinbash 4y 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 https://go.dev/play/p/C_Yv5s6USma