Is there a way to enforce prohibiting usage of panic/unwrap/expect?

61 points another-bite

Hi, I don't know much about rust but I do have interest in its error handling aspect.

I'm curious whether there is a way to enforce prohibiting usage of writing panicking code like \panic\\, \unwrap\\ or \expect\\, and preferably allow panicking only in a single place of the program? The idea is to enforce proper or certain error propagation practices.