Skip to main content

install_panic_hook

Function install_panic_hook 

Source
pub fn install_panic_hook()
Expand description

Install the miette panic hook, routing panics through the same graphical report pipeline.

Idempotent — std::panic::set_hook simply overwrites any previous hook, so calling twice leaves miette’s renderer in place.