Function esp_idf_svc::sys::esp_tls_get_error_handle
source ยท pub unsafe extern "C" fn esp_tls_get_error_handle(
tls: *mut esp_tls,
error_handle: *mut *mut esp_tls_last_error,
) -> i32
Expand description
@brief Returns the ESP-TLS error_handle
@param[in] tls handle to esp_tls context
@param[out] error_handle pointer to the error handle.
@return - ESP_OK on success and error_handle will be updated with the ESP-TLS error handle.
- ESP_ERR_INVALID_ARG if (tls == NULL || error_handle == NULL)