The stdlib prefers `errors.New` ([e.g.](http://golang.org/src/pkg/net/http/server.go#L33)), but I can't say why: this appears equivalent, and requires one less import.