diff options
author | Florian Dold <florian@dold.me> | 2022-09-26 14:40:06 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-26 14:40:11 +0200 |
commit | 25eb7624b39f05d720c150b047c15c267e2a1a6d (patch) | |
tree | 239de3714d0f225b7d38be0c18e80ca246ed1ad4 /packages/taler-wallet-core/src/errors.ts | |
parent | 360cb806107b5b3ea356d479bbacc16f3744fd35 (diff) | |
download | wallet-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.ts | 3 |
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; |