News for hackers. Stuff that matters.
Re:Structured Errors in Go by dlock17 on Monday June 02, 2025 @04:02PM (#44162450)
I like this, as it also maps well to using defer at the top of the function to wrap any returned errors with metadata.

I've implemented something similar in my errors library relying on log/slog.Attr.

There are no comments on this comment yet.