From 8e1622a915387427590899a3a515d7556d2bc665 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 1 Nov 2022 13:39:42 +0100 Subject: wallet-core: better KYC error message --- packages/taler-wallet-core/src/errors.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/taler-wallet-core/src/errors.ts') diff --git a/packages/taler-wallet-core/src/errors.ts b/packages/taler-wallet-core/src/errors.ts index f8f5cef0e..3480fed3c 100644 --- a/packages/taler-wallet-core/src/errors.ts +++ b/packages/taler-wallet-core/src/errors.ts @@ -79,6 +79,9 @@ export interface DetailsMap { [TalerErrorCode.WALLET_CRYPTO_WORKER_BAD_REQUEST]: { detail: string; }; + [TalerErrorCode.WALLET_WITHDRAWAL_KYC_REQUIRED]: { + // FIXME! + }; } type ErrBody = Y extends keyof DetailsMap ? DetailsMap[Y] : never; -- cgit v1.2.3