The common contract for functions which return a value of the interface type error, is the caller should not presume anything about the state of the other values returned from that call without first checking the error.| Dave Cheney
This is a thought experiment about sentinel error values in Go.| Dave Cheney
A few months ago I gave a presentation on my philosophy for error handling. In the talk I introduced a small errors package designed to support the ideas presented in the talk.| Dave Cheney