Skip to content

Class: XmlError ​

Defined in: netconf/src/errors.ts:37

Malformed XML, a forbidden construct (such as a DOCTYPE), or a parser limit was exceeded.

Extends ​

Constructors ​

Constructor ​

ts
new XmlError(message, options?): XmlError;

Defined in: netconf/src/errors.ts:31

Parameters ​

message ​

string

options? ​

NetconfErrorOptions

Returns ​

XmlError

Inherited from ​

NetconfError.constructor

Properties ​

code ​

ts
readonly code: "ERR_NETCONF_XML" = 'ERR_NETCONF_XML';

Defined in: netconf/src/errors.ts:40

Stable, machine-readable error code.

Overrides ​

NetconfError.code


name ​

ts
name: string = 'XmlError';

Defined in: netconf/src/errors.ts:39

Always 'XmlError'.

Overrides ​

NetconfError.name

Released under the MIT Licence.