chillpill::catch is a more powerful (but more restrictive) std::panic::catch_unwind. It suppresses the default panic message, and provides access to the source code location (file, line, and column) of the panic. The added restriction is that no code may replace the global panic hook while the function is executing (though modifications before and after are fine).
I originally created this because I wanted to have those two added capabilities for a test framework I'm building. I decided to make it a separate crate for modularity, and publish it in case it helps anyone else with similar needs π
Check it out on: