I think that's the intention of a panic.. however there is still recover if you need to "catch" it.
I’d be interested to know which libraries you’re working with where this has been a problem because I’ve only ever experienced one occasion where a 3rd party library panicked unnecessarily.