const ( // The operation looked fine on paper, but something went wrong Server Type = "server" // The thing you mentioned, whatever it is, just doesn't exist Missing = "missing" // The operation was well-formed, but you asked for something that // can't happen at present (e.g., because you've not supplied some // config yet) User = "user" )
Representation of errors in the API. These are divided into a small number of categories, essentially distinguished by whose fault the error is; i.e., is this error:
- a transient problem with the service, so worth trying again? - not going to work until the user takes some other action, e.g., updating config?