Skip to content

Class: PathError ​

Defined in: netconf/src/content/path.ts:27

A path that couldn't be parsed, or names a module that can't be resolved.

Extends ​

Constructors ​

Constructor ​

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

Defined in: netconf/src/content/path.ts:34

Parameters ​

message ​

string

options? ​

NetconfErrorOptions & object

Returns ​

PathError

Overrides ​

NetconfError.constructor

Properties ​

code ​

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

Defined in: netconf/src/content/path.ts:30

Stable, machine-readable error code.

Overrides ​

NetconfError.code


module ​

ts
readonly module: string | undefined;

Defined in: netconf/src/content/path.ts:32

For a module no namespace source knows: the module's name.


name ​

ts
name: string = 'PathError';

Defined in: netconf/src/content/path.ts:29

'PathError'.

Overrides ​

NetconfError.name

Released under the MIT Licence.