Join GitHub today
Proposal: cmd/go: return parseable errors for mod download #30725
Therefore, Proxies that try to download modules through the go command should be able to understand errors in a programmatic way without having to parse text. Such errors can be:
Furthermore, some of the messages in the Error field are inaccurate, see below for details.
What version of Go are you using (