Sets error information within a thread context.
#include <prerror.h> void PR_SetError(PRErrorCode errorCode, PRInt32 oserr)
The function has these parameters:
errorCode
oserr
NSPR does not validate the value of the error number or OS error number being specified. The runtime merely stores the value and returns it when requested.