Skip to content

Class: SubscriptionOverflowError ​

Defined in: netconf/src/operations/notifications.ts:52

The reader fell behind: the queue reached limit, and dropped notifications were discarded after that.

Extends ​

Constructors ​

Constructor ​

ts
new SubscriptionOverflowError(limit, dropped): SubscriptionOverflowError;

Defined in: netconf/src/operations/notifications.ts:61

Parameters ​

limit ​

number

dropped ​

number

Returns ​

SubscriptionOverflowError

Overrides ​

SubscriptionError.constructor

Properties ​

code ​

ts
readonly code: string = 'ERR_NETCONF_SUBSCRIPTION_OVERFLOW';

Defined in: netconf/src/operations/notifications.ts:55

Stable, machine-readable error code.

Overrides ​

SubscriptionError.code


dropped ​

ts
readonly dropped: number;

Defined in: netconf/src/operations/notifications.ts:59

How many notifications were discarded once the queue was full.


limit ​

ts
readonly limit: number;

Defined in: netconf/src/operations/notifications.ts:57

The queue size that was reached (the subscription's queueSize).


name ​

ts
name: string = 'SubscriptionOverflowError';

Defined in: netconf/src/operations/notifications.ts:54

The error class name.

Overrides ​

SubscriptionError.name

Released under the MIT Licence.