3 ms·
agree totally. I'd prefer to see an official errors.Wrap function instead of "try", for the reasons you cite. (shout out to Dave Cheney's excellent "pkg/error
by marcus_holmes 7y ago
agree totally.
I'd prefer to see an official errors.Wrap function instead of "try", for the reasons you cite.
(shout out to Dave Cheney's excellent "pkg/errors" implementation of error wrapping)