xpath-ts2
Version:
DOM 3 and 4 XPath 1.0 implementation for browser and Node.js environment with support for typescript 5.
10 lines (9 loc) • 329 B
TypeScript
export declare class XPathException extends Error {
static INVALID_EXPRESSION_ERR: number;
static TYPE_ERR: number;
static fromMessage(message: string, error?: Error): XPathException;
code?: number;
exception?: Error;
constructor(code?: number, error?: Error, message?: string);
toString(): string;
}