pub fn set_divergence_handler(&mut self, handler: DivergenceHandler) {
        self.vm_divergence_handler = handler;
    }
Sets the handler called when a VM divergence is detected. Regardless of the handler, the divergence error(s)
will be logged on the `ERROR` level.
core/lib/vm_executor/src/oneshot/mod.rs