Returns low-level error codes associated with the current session.
hcerr_t hc_session_get_platform_result(hc_session_t *session, int32_t *connect_errnop, int32_t *platform_resultp);
This function returns low-level error codes associated with the current session.
The values returned by hc_session_get_platform_result will not be updated properly after calls to the functions hc_retrieve_ez and hc_delete_ez.
session
IN: The session object.
connect_errnop
OUT: Updated to be the operating system’s errno value associated with the last connect operation on the current session.
platform_resultp
OUT: Updated to be the error code reported by the underlying HTTP library (for example, the Curl library).
HCERR_OK HCERR_BAD_REQUEST HCERR_OOM HCERR_NULL_SESSION HCERR_INVALID_SESSION