Skip to content

Class: ProtocolError ​

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

The server broke the protocol: an unexpected message, or a reply that can't be matched.

Extends ​

Extended by ​

Constructors ​

Constructor ​

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

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

Parameters ​

message ​

string

options? ​

NetconfErrorOptions

Returns ​

ProtocolError

Inherited from ​

NetconfError.constructor

Properties ​

code ​

ts
readonly code: string = 'ERR_NETCONF_PROTOCOL';

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

Stable, machine-readable error code.

Overrides ​

NetconfError.code


name ​

ts
name: string = 'ProtocolError';

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

Always 'ProtocolError'.

Overrides ​

NetconfError.name

Released under the MIT Licence.