void KADMOS_API re_SetErrorText_bas(re_ErrorText_bas *errtext);
errtext
re_ErrorText_bas
,
in which the error text must be stored (e.g. by a call of re_GetErrorText_bas()
).
If the value is filled with NULL
, the function works like re_ClearError()
.-
Before calling this function, the content of the data structure errtext
should be set by a call to
re_GetErrorText_bas()
. re_SetErrorText_bas()
writes the given data back to KADMOS. This can be
necessary especially when after the occurrence of a KADMOS error some terminating functions have to be called (which
internally might call re_ClearError()
), but the first (causing) KADMOS error shall be reported from calls to
re_GetErrorText_bas()
.