XmlParseError

class wv.XmlParseError()

Error object that is thrown when attempting to parse XML data. This can be thrown in the case of an actual parsing error or a malformed XML file. The error object itself will provide a detailed description of the error.

Constructors

wv.XmlParseError.constructor()
XmlParseError(message: string): XmlParseError

Creates a new XmlParseError

Parameters

message: string

Returns: XmlParseError

Properties

wv.XmlParseError.stackTraceLimit

static inherited

stackTraceLimit: number
wv.XmlParseError.prepareStackTrace

static optional inherited

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

wv.XmlParseError.message

inherited

message: string
wv.XmlParseError.name

inherited

name: string
wv.XmlParseError.stack

optional inherited

stack: string

Methods

static wv.XmlParseError.captureStackTrace()

static inherited

captureStackTrace(targetObject: object, constructorOpt: Function): void

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt: Function

Returns: void