install

Function install 

Source
pub fn install() -> Result<()>
Expand description

Installs the hook as the global error report hook.

NOTE: It must be called before any eyre::Reports are constructed to prevent the default handler from being installed.

ยงErrors

Calling this function after another handler has been installed will cause an error.