re_ErrorText, re_wErrorText und re_ErrorText_bas

typedef struct re_ErrorText_tag {
  KADMOS_ERROR ident;
  char program[RE_ERROR_PROGRAM_LEN];
  char text[RE_ERROR_TEXT_LEN];
  char systext[RE_ERROR_TEXT_LEN];
  long private_data;
} re_ErrorText;

typedef struct re_wErrorText_tag {
  KADMOS_ERROR ident;
  wchar_t program[RE_ERROR_PROGRAM_LEN];
  wchar_t text[RE_ERROR_TEXT_LEN];
  wchar_t systext[RE_ERROR_TEXT_LEN];
  long private_data;
} re_wErrorText;

typedef struct re_ErrorText_bas_tag {
 int  ident;
 BSTR program;
 BSTR text;
 BSTR systext;
 int  private_data;
} re_ErrorText_bas;
      

Elements:

ident
Specification of the error type.
RE_...
RE_SUCCESSReturn value in case of success.
RE_QUITCanceled by the user.
RE_WARNINGWarning (without further consequences).
RE_ERRORGeneral error in the program flow.
RE_INFOReturn a clear text information.
Typical errors in the program sequence are additionally characterized.
RE_PARAMETERERRORFaulty parameter supply of a function.
RE_MEMORYERRORMemory shortage or incorrect pointers to the memory to be provided.
RE_FILEERRORError by opening, reading, writing, or closing a file.
RE_PROTECTERRORUnlicensed KADMOS version.
RE_SEGMENTATIONERRORProblems with the segmentation.
program
Name of the procedure where the error occurred.
text
Text describing the error.
systext
Operating system error text (if there is any).
private_data
Value set by the user (see re_SetPrivateData()).

Reference: