pub(crate) fn wrap_panic(function: &mut dyn FnMut())
Generic wrapper for JS engine callbacks panic-catching