Skip to content

Function: isEscrowGapError()

function isEscrowGapError(err): boolean;

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

True for an EscrowGapError, matched on its code. Like isGroupIdentityMismatchError, the answer that survives a bundler loading two copies of this package, and what rine-ts-sdk widens instanceof RineError with: the Python twins are CryptoErrors, so a consumer's catch (e) { if (e instanceof RineError) … } must hold here too.

Parameters

Parameter Type
err unknown

Returns

boolean