3 ms·
The way to do this properly got much better in the most recent Go release, the linked documentation doesn't yet take that into account, it would seem. https://
by badrequest 7y ago
The way to do this properly got much better in the most recent Go release, the linked documentation doesn't yet take that into account, it would seem.
https://github.com/golang/go/wiki/ErrorValueFAQ https://github.com/golang/go/wiki/ErrorValueFAQ
- sidlls 7y agoError handling in go would be much better with a proper sum type, though. It's very clunky as-is, even with the improvements outlined in that link