pub type OnErrorHook = Box<dyn Fn(&UpdateKitError) + Send + Sync>;
Synchronous error handler hook.
pub struct OnErrorHook(/* private fields */);