I don't know if that's what you're talking about but you can sue your lawyer for professional negligence if they didn't do their job properly.
You can only sue for negligence if you can prove you were going to win without the negligence. And it will cost you ten thousand dollars just to begin the process.
So if there's any doubt that you're going to win - any at all - your own $600/hr lawyer can flat out fuck you over. And there isn't a fucking thing you can do about it.
That's not true. For instance, missing a filing deadline is considered professional negligence, regardless of the strength of the case.
However, there seems to still be the caveat that missing that deadline needs to have "caused you harm" - which entails proving that you would have won your case otherwise, no?