diff options
Diffstat (limited to 'packages/taler-wallet-core/src/errors.ts')
-rw-r--r-- | packages/taler-wallet-core/src/errors.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/errors.ts b/packages/taler-wallet-core/src/errors.ts index 99a7fb535..68cd39b54 100644 --- a/packages/taler-wallet-core/src/errors.ts +++ b/packages/taler-wallet-core/src/errors.ts @@ -24,6 +24,7 @@ * Imports. */ import { + PayMerchantInsufficientBalanceDetails, TalerErrorCode, TalerErrorDetail, TransactionType, @@ -83,6 +84,9 @@ export interface DetailsMap { [TalerErrorCode.WALLET_WITHDRAWAL_KYC_REQUIRED]: { // FIXME! }; + [TalerErrorCode.WALLET_DEPOSIT_GROUP_INSUFFICIENT_BALANCE]: { + insufficientBalanceDetails: PayMerchantInsufficientBalanceDetails; + }; } type ErrBody<Y> = Y extends keyof DetailsMap ? DetailsMap[Y] : never; |