pub unsafe fn raise_error_streamed(
ctxt: *mut c_void,
domain: c_int,
code: c_int,
level: c_int,
file: *const c_char,
line: c_int,
msg: *const c_char,
source_window: Option<(&[u8], usize)>,
delivery: GenericDelivery,
)Expand description
Raise an error with upstream’s full routing (error.c 2.15
xmlVRaiseError): update the last error, then deliver to the structured
handler or the selected generic channel — never both.
file/line/source_window feed the generic fragment stream (the
structured handler receives the complete xmlError instead).
§SAFETY
ctxtmay be NULL.msgandfilemust be valid C strings or NULL.source_windowbytes must be valid for the duration of the call.