Versions Compared

Key

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


...

Code Block
languagecpp
themeConfluence
FUNCTION xpxDefineErrorCode (errorCode : INTEGER;
                             errorText : STRING;
                             options   : INTEGER) 
                             status    : INTEGER;

Use this function to add a user defined error code to the list of EDMinterface  error codes. The argument <errorCode>

Arguments

...

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

Return Value

...

Insert excerpt
US:_r_XPX_Return_Value
US:_r_XPX_Return_Value
nopaneltrue

Options

...

OptionComment
REPLACE_EXISTINGWill replace an existing error code with the one given by the function
DELETE_EXISTINGWill delete the given error code from the system

 

Example

...

Code Block
languagecpp
<Missing Example>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "extension_schema" and parent = "5636522"

 

...