This function returns the error information for the current thread.
CSSM_ERROR_PTR CSSMAPI CSSM_GetError (void)
None
Returns the current error information. If a NULL pointer is returned, the error information for the current thread has not been initialized. CSSM_GetError attempts to initialize the information if it does not exist, but if that fails, a NULL pointer is returned. If the pointer is not NULL and the error code is CSSM_OK, then there is no current error.
CSSM_InitError
CSSM_DestroyError
CSSM_ClearError
CSSM_SetError
CSSM_IsCSSMError
CSSM_IsCLError
CSSM_IsTPError
CSSM_Is_DLError
CSSM_IsCSPError