Function panic_hook::set_with
source · [−]Expand description
Set the panic hook with a closure to be called. The closure receives the panic message.
Depending on how OpenEthereum was compiled, after the closure has been executed, either the process aborts or unwinding starts.
If you panic within the closure, a double panic happens and the process will stop.