pub unsafe extern "C" fn esp_tls_get_error_handle(
    tls: *mut esp_tls_t,
    error_handle: *mut esp_tls_error_handle_t
) -> esp_err_t
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)