Replace most errors returned by the compiler (using errors.New) with an error type that includes the source location.