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.
Arguments
Type | Name | Comment |
INTEGER | errorCode | specifies a error code. Note that it's value shall be in range from FIRST_USER_DEFINED_ERROR_CODE to LAST_USER_DEFINED_ERROR_CODE defined in sdai.h (e.g. 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
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.
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
<Missing Example>
See also
Filter by label
There are no items with the selected labels at this time.