foundry_cli::handler

Function install

Source
pub fn install()
Expand description

Installs the Foundry eyre and panic hooks as the global ones.

ยงDetails

By default a simple user-centric handler is installed, unless FOUNDRY_DEBUG is set in the environment, in which case a more verbose debug-centric handler is installed.

Panics are always caught by the more debug-centric handler.