From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aXMLNode.LastError

Supported for all project types and targets.

Contains an error code after an XMLException occurs.


XMLNodeList.Item will specify an error code if the item could not be created, and XMLNodeList.ToString could as well.

Error Code Description
0 No error occurred.
1 Index size error
2 DOM String size error
3 Hierarchy request error
4 Wrong document
5 Invalid character
6 No data allowed
7 No modification allowed
8 Not found
9 Not supported
10 In use attribute
11 Invalide state
12 Syntax error
13 Invalid modification
14 Namespace error
15 Invalid access
16 Invalid node type
17 Query parse error
18 Query execution error
19 Not OK

See Also

XMLException, XMLDOMException