Interesting error handling pattern in Upspin
Error handling in Upspin
The Upspin project uses a custom package, upspin.io/errors , to represent error conditions that arise inside the system. These errors satisfy the standard Go interface, but are implemented using a custom type, upspin.io/errors.Error , that has properties that have proven valuable to the project.
Join in on the conversation with Michael Fridman when you subscribe to Golang Toronto.