Skip to content

Class: TransportError ​

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

Connecting or keeping the connection failed (DNS, TCP, SSH or TLS).

Extends ​

Extended by ​

Constructors ​

Constructor ​

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

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

Parameters ​

message ​

string

options? ​

NetconfErrorOptions

Returns ​

TransportError

Inherited from ​

NetconfError.constructor

Properties ​

code ​

ts
readonly code: string = 'ERR_NETCONF_TRANSPORT';

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

Stable, machine-readable error code.

Overrides ​

NetconfError.code


name ​

ts
name: string = 'TransportError';

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

Always 'TransportError'.

Overrides ​

NetconfError.name

Released under the MIT Licence.