summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_geterrortextlength.rst
blob: c771e4c1ee0c055165755ec13088dc07fe42b6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PR_GetErrorTextLength
=====================

Gets the length of the error text.


Syntax
------

.. code::

   #include <prerror.h>

   PRInt32 PR_GetErrorTextLength(void)


Returns
~~~~~~~

If a zero is returned, no error text is currently set. Otherwise, the
value returned is sufficient to contain the error text currently
available.