aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/errors.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-26 14:40:06 +0200
committerFlorian Dold <florian@dold.me>2022-09-26 14:40:11 +0200
commit25eb7624b39f05d720c150b047c15c267e2a1a6d (patch)
tree239de3714d0f225b7d38be0c18e80ca246ed1ad4 /packages/taler-wallet-core/src/errors.ts
parent360cb806107b5b3ea356d479bbacc16f3744fd35 (diff)
downloadwallet-core-25eb7624b39f05d720c150b047c15c267e2a1a6d.tar.xz
wallet-core: improve crypto worker error handling
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 0f4c480cd..60aecf7a1 100644
--- a/packages/taler-wallet-core/src/errors.ts
+++ b/packages/taler-wallet-core/src/errors.ts
@@ -73,6 +73,9 @@ export interface DetailsMap {
[TalerErrorCode.WALLET_PAY_MERCHANT_SERVER_ERROR]: {
requestError: TalerErrorDetail;
};
+ [TalerErrorCode.WALLET_CRYPTO_WORKER_ERROR]: {
+ innerError: TalerErrorDetail;
+ };
}
type ErrBody<Y> = Y extends keyof DetailsMap ? DetailsMap[Y] : never;