I've written a blogpost on joining errors with the built-in errors package in Go.
Joined errors are a variant of error wrapping with slightly different semantics; I haven't seen them used all that much!

Let me know what you think! ^^

tpaschalis.me/golang-multierr/

Follow

I've started slowly getting back to the habit of writing on my small blog, any feedback y'all have is greatly appreciated (and I'll owe you a beer for it).

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!