News for hackers. Stuff that matters.
Re:Structured Errors in Go by candiddevmike on Sunday June 01, 2025 @09:50AM (#44150842)
You have to add all of that detail manually which sucks. You can get the function name from the runtime package and generate that metadata easily with a helper function. Otherwise when you rename the function, you have to rename all of the error messages.

There are no comments on this comment yet.