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.