pub fn xsltSetTransformErrorFunc(
ctxt: *mut _xsltTransformContext,
ctx: *mut c_void,
handler: Option<unsafe extern "C" fn(*mut c_void, *const c_char)>,
)Expand description
Set the transform error handler for a context.
Registers a per-context error handler that will be called for every
error reported during the transformation. Pass None to restore the
default handler.
§Parameters
ctxt— The transform context, orstd::ptr::null_mut()for the global handler.ctx— Opaque user-data pointer passed to the handler.handler— The error handler function, orNoneto reset.