An error that occurred while parsing XML.

Hierarchy

  • Error
    • XmlError

Constructors

Properties

column: number

Character column at which this error occurred (1-based).

excerpt: string

Short excerpt from the input string that contains the problem.

line: number

Line number at which this error occurred (1-based).

message: string
name: string
pos: number

Character position at which this error occurred relative to the beginning of the input (0-based).

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

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void