Skip to content

Class: SessionClosedError ​

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

The session is closed, or closed while the operation was in progress. cause says why, if known.

Extends ​

Constructors ​

Constructor ​

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

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

Parameters ​

message ​

string

options? ​

NetconfErrorOptions

Returns ​

SessionClosedError

Inherited from ​

NetconfError.constructor

Properties ​

code ​

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

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

Stable, machine-readable error code.

Overrides ​

NetconfError.code


name ​

ts
name: string = 'SessionClosedError';

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

Always 'SessionClosedError'.

Overrides ​

NetconfError.name

Released under the MIT Licence.