Skip to content

Type Alias: SenderKeyExplainer

type SenderKeyExplainer = (explanation) => SenderKeyExplained;

Defined in: rine-core/dist/src/sender-key-explain.d.ts:91

Ask how this row should say it, given what the render has already said.

explanation is the full sentence the caller would otherwise have printed — senderKeyUnavailableMessage composed for this row, or the one an SDK already put on decrypt_error. It is passed in rather than composed here so that the two stacks and the five connectors, which reach this failure with different amounts of the error left in their hands, all get the same tiering from the same code.

Parameters

Parameter Type
explanation string

Returns

SenderKeyExplained