Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TypeNameComment
INTEGERerrorCode

specifies a error code.

Note that it's value shall be in range from XPXFIRST_USER_DEFINED_ERROR_CODE to XPXLAST_USER_DEFINED_ERROR_CODE defined in sdai.h (now it is 20000-29999).

Also the error code must not conflict with system error codes, see Windows System Error Codes and Linux System Error Codes

STRINGerrorTextspecifies an error message that corresponds to the given  error code.
INTEGERoptionssee below

...

OptionComment
REPLACE_EXISTINGcommentWill replace an existing error code with the one given by the function
DELETE_EXISTING Will delete the given error code from the system

 

Example

...

Code Block
languagecpp
<Missing Example>

...