3 ms·
https://github.com/golang/go/issues/32437 https://github.com/golang/go/issues/32437
by morelisp 5y ago
https://github.com/golang/go/issues/32437 https://github.com/golang/go/issues/32437
- lalaithion 5y agoThe try syntax proposed there and in other places returns the error unwrapped, which is a no-go for me. I wrap every error that I return from every function.
- encoderer 5y agoOh can I see how you do it?
- camkego 5y agoPlease share articles/blog posts! I would guess there are newer articles about best practices for Go error handling, other than the great articles by Dave Cheney. https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully https://dave.cheney.net/2016/04/27/dont-just-check-errors-ha...