aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/errors.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-11-01 13:39:42 +0100
committerFlorian Dold <florian@dold.me>2022-11-01 13:39:42 +0100
commit8e1622a915387427590899a3a515d7556d2bc665 (patch)
tree17a3e6f830eab0d9215e682222dc5b1105046f89 /packages/taler-wallet-core/src/errors.ts
parentd751f1a267773746169c3364dfdc25ce134ad07a (diff)
wallet-core: better KYC error message
Diffstat (limited to 'packages/taler-wallet-core/src/errors.ts')
-rw-r--r--packages/taler-wallet-core/src/errors.ts3
1 files changed, 3 insertions, 0 deletions
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> = Y extends keyof DetailsMap ? DetailsMap[Y] : never;