...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
INTEGER | errorCode | 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 | ||
STRING | errorText | specifies an error message that corresponds to the |
...
given error code. |
...
INTEGER | options | see below |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Option | Comment |
REPLACE_EXISTING | Will 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 | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...