org.w3c.dom.xpath.XPathException.INVALID_EXPRESSION_ERR
field
public static readonly INVALID_EXPRESSION_ERR as Int = 1
Description

Raised when an XPath expression is syntactically invalid or uses an unsupported feature.

Example
print(XPathException.INVALID_EXPRESSION_ERR)