Function register_error_handler

Source
pub fn register_error_handler(
    handler: Box<dyn FnMut(&Display, &ErrorEvent) -> bool + Send + Sync + 'static>,
) -> Result<HandlerKey>
Expand description

Insert an error handler into the list.