This writeup is part of the prologue to a series of articles that talk about the “CockroachDB errors library”, which is really a general-purpose, open source replacement for Go’s standard errors package. So, what are we talking about here? The basic Go error API: errors are values The Go …