Function tiny_xlib::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.