pub fn install() -> Result<()>Expand description
Install the simple-eyre hook as the global error report hook.
ยงDetails
This function must be called to enable the customization of eyre::Report
provided by simple-eyre. This function should be called early, ideally
before any errors could be encountered.
Only the first install will succeed. Calling this function after another
report handler has been installed will cause an error. Note: This
function must be called before any eyre::Reports are constructed to
prevent the default handler from being installed.