Function s2n_quic::provider::tls::default::ffi::s2n_strerror_debug

source ·
pub unsafe extern "C" fn s2n_strerror_debug(
    error: i32,
    lang: *const i8
) -> *const i8
Expand description

Translates an s2n_error code to a human readable string containing internal debug information, including file name and line number. This function is useful when reporting issues to the s2n-tls development team.

@param error The error code to explain. Usually this is s2n_errno @param lang The language to explain the error code. Pass “EN” or NULL for English. @returns The error string