This post is an extract from my presentation at the recent GoCon spring conference in Tokyo, Japan.| Dave Cheney
Error Printing — Draft Design| go.googlesource.com
Proposal: Go 2 Error Inspection| go.googlesource.com
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. Consider for example the following piece of code: import "fmt" type T struct { x int } func main …| dr knz @ work
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 …| dr knz @ work