diff options
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 60aecf7a1..f8f5cef0e 100644 --- a/packages/taler-wallet-core/src/errors.ts +++ b/packages/taler-wallet-core/src/errors.ts @@ -76,6 +76,9 @@ export interface DetailsMap { [TalerErrorCode.WALLET_CRYPTO_WORKER_ERROR]: { innerError: TalerErrorDetail; }; + [TalerErrorCode.WALLET_CRYPTO_WORKER_BAD_REQUEST]: { + detail: string; + }; } type ErrBody<Y> = Y extends keyof DetailsMap ? DetailsMap[Y] : never; |