code
只读特性在
XPathException
interface returns a
short
that contains one of the
error code constants
.
var exceptionCode = exception.code;
A
short
number representing the error code.
| 规范 | 状态 | 注释 |
|---|---|---|
|
DOM (文档对象模型) 3 级 XPath 规范
The definition of 'XPathException' in that specification. |
推荐 | 初始定义 |
No compatibility data found. Please contribute data for "api.XPathException.code" (depth: 1) to the MDN 兼容性数据存储库 .
XPathException
code