Can we try to extract more useful info here? e.g. I think go/parser will sometimes give specific error types that will mention source code position, and we can pull that out here so that the Line field can be set.