ZL_CCtx_getErrorContextString

Function ZL_CCtx_getErrorContextString 

Source
pub unsafe extern "C" fn ZL_CCtx_getErrorContextString(
    cctx: *const ZL_CCtx,
    report: ZL_Report,
) -> *const c_char
Expand description

Gets the error context for a given ZL_Report. This context is useful for debugging and for submitting bug reports to Zstrong developers.

@param report The report to get the error context for

@returns A verbose error string containing context about the error that occurred.

@note: This string is stored within the @p cctx and is only valid for the lifetime of the @p cctx.