pub fn set_error_handler<F>(f: F) -> Result<(), Error>where
    F: Fn(Error) + Send + Sync + 'static,
Expand description

Set global error handler.