Gets the length of the error text.
#include <prerror.h> PRInt32 PR_GetErrorTextLength(void)
If a zero is returned, no error text is currently set. Otherwise, the value returned is sufficient to contain the error text currently available.