Function s2n_tls_sys::s2n_strerror

source ·
pub unsafe extern "C" fn s2n_strerror(
    error: c_int,
    lang: *const c_char
) -> *const c_char
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