re_GetErrorText(), re_wGetErrorText()

extern XXX_ERROR XXX_API re_GetErrorText(re_ErrorText *errortext);

extern XXX_ERROR XXX_API re_wGetErrorText(re_wErrorText *errortext);

Parameter:

errortext
Pointer to a structure of the type re_ErrorText or re_wErrorText, in which the error text is stored. If the value NULL is set, only the error type will be returned.

Return value:

RE_SUCCESS or XXX error type of the last error.

Comment:

These functions can be used to call up error messages. If ident is RE_WARNING or RE_INFO, the value RE_SUCCESS is returned. If you are interested in the full error text, give this function the address of a filled out structure of re_ErrorText as parameter.

Reference: