pr_geterror.rst (417B)
1 PR_GetError 2 =========== 3 4 Returns the current thread's last set platform-independent error code. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prerror.h> 13 14 PRErrorCode PR_GetError(void) 15 16 17 Returns 18 ~~~~~~~ 19 20 The value returned is a 32-bit number. NSPR provides no direct 21 interpretation of the number's value. NSPR does use :ref:`PR_SetError` to 22 set error numbers defined in `Error 23 Codes <NSPR_Error_Handling#Error_Code>`__.