Function s2n_quic_tls::ffi::s2n_strerror

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

Translates an s2n_error code to a human readable string explaining the error.

@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