Copies the current thread's current error text without altering the text as stored in the thread's context.
#include <prerror.h> PRInt32 PR_GetErrorText(char *text);
The function has one parameter:
text
The actual number of bytes copied. If the result is zero, text
is unaffected.