Function esp_idf_svc::hal::sys::mbedtls_low_level_strerr

source ยท
pub unsafe extern "C" fn mbedtls_low_level_strerr(
    error_code: i32,
) -> *const i8
Expand description

\brief Translate the low-level part of an Mbed TLS error code into a string representation.

This function returns a const pointer to an un-modifiable string. The caller must not try to modify the string. It is intended to be used mostly for logging purposes.

\param error_code error code

\return The string representation of the error code, or \c NULL if the error code is unknown.