Skip to content

Class: EscrowGapError

Defined in: rine-core/dist/src/errors-refusals.d.ts:13

A send at an epoch whose read escrow can never exist.

The core reported the epoch as a gap and the drain filed a marker before saving, so a message sent at it would be unreadable to the org after a recovery. Raised instead of sending; a later epoch sends normally. A too_many_leaves gap is retried once after the orphaned leaves are reclaimed, before this reaches the caller.

Extends

  • Error

Constructors

Constructor

new EscrowGapError(
   groupId, 
   epoch, 
   reason): EscrowGapError;

Defined in: rine-core/dist/src/errors-refusals.d.ts:18

Parameters

Parameter Type
groupId string
epoch number
reason GapReason

Returns

EscrowGapError

Overrides

Error.constructor

Properties

Property Modifier Type Default value Defined in
code readonly "mls_escrow_gap" "mls_escrow_gap" rine-core/dist/src/errors-refusals.d.ts:17
epoch readonly number undefined rine-core/dist/src/errors-refusals.d.ts:15
groupId readonly string undefined rine-core/dist/src/errors-refusals.d.ts:14
reason readonly GapReason undefined rine-core/dist/src/errors-refusals.d.ts:16