Rob Pike - Jun 13, 2018
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.