pub unsafe fn resolve_error(
error: *mut xcb_generic_error_t,
extension_data: &[ExtensionData],
) -> ProtocolErrorExpand description
Resolve an error from the X server
If the error originates from an extension, the extension_data parameter must contain the
data for the extension of origin.
If the resolution fails, an ProtocolError::Unknown is returned.
ยงSafety
The caller must ensure that error is a valid pointer to an xcb_generic_error_t.