I don't know where you got that, but you couldn't be further from the truth. Law enforcement is legally protected from lawsuits arising from anything that happens in the pursuit of their duty, even if they are in err.
I must have been misinformed when I was sued personally in Texas sometime ago for something one of my agents did. Fortunately, the gov settled.