pub type ErrorCallback = Box<dyn Fn(&str) + Sync + Send>;
Callback type for errors.
pub struct ErrorCallback(/* private fields */);