XML_GetLastErrorCode
%XML_GetLastErrorCode function
Function
The function returns the error code of the last XML operation.
Declaration
INT %XML_GetLastErrorCode()Parameters
None.
Return value
Error code.
Description
Table of error codes:
Error code | Description |
0 | No error. |
-1 | Invalid handle. |
-2 | Error when opening the document. |
-3 | Error when saving the document. |
-4 | Invalid index in list. |
-5 | Handle to object required. |
-6 | Handle to element required. |
-7 | Handle to document or element required. |
-8 | Document does not satisfy the validation. |
-9 | Unknown/indefinite error. |
-10 | Error during XML action. |
-11 | Other XML Import transaction is being processed. |
Example
INT _errorCode
_errorCode := %XML_GetLastErrorCode()