Skip to main content
Defined in: durability/errors.ts:16 A journal completion (ack, fail, markSent, …) presented a fencing token that is not the record’s current claim: the lease expired and someone else re-claimed the record, or it already left the leased state. The stale holder must drop its result.

Extends

  • Error

Constructors

Constructor

Defined in: durability/errors.ts:17

Parameters

Returns

StaleLeaseError

Overrides

Error.constructor

Properties

id

Defined in: durability/errors.ts:19 Inbox record id or outbox key.

fencingToken

Defined in: durability/errors.ts:21 The token that was presented.

currentToken

Defined in: durability/errors.ts:23 The record’s current token (-1 when the record does not exist).

state

Defined in: durability/errors.ts:25 The record’s current state ('missing' when it does not exist).