diff options
author | Florian Dold <florian@dold.me> | 2023-02-21 01:48:12 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-21 01:48:12 +0100 |
commit | 4762018dc1612e561fe87fd5ff87e6c7006807c7 (patch) | |
tree | eb5f48cb26b0a5274923a05ac77ce376bc3fb4dd /packages/taler-util/src/errors.ts | |
parent | e56d3ba8ebc29c41e95505f3d3cdd6de62e7ce34 (diff) | |
download | wallet-core-4762018dc1612e561fe87fd5ff87e6c7006807c7.tar.xz |
wallet-core: report refresh errors properly
Diffstat (limited to 'packages/taler-util/src/errors.ts')
-rw-r--r-- | packages/taler-util/src/errors.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-util/src/errors.ts b/packages/taler-util/src/errors.ts index 038bdbc7c..b5fb7be2a 100644 --- a/packages/taler-util/src/errors.ts +++ b/packages/taler-util/src/errors.ts @@ -122,6 +122,13 @@ export interface DetailsMap { [TalerErrorCode.WALLET_PEER_PUSH_PAYMENT_INSUFFICIENT_BALANCE]: { insufficientBalanceDetails: PayPeerInsufficientBalanceDetails; }; + [TalerErrorCode.WALLET_REFRESH_GROUP_INCOMPLETE]: { + numErrors: number; + /** + * Errors, can be truncated. + */ + errors: TalerErrorDetail[]; + }; } type ErrBody<Y> = Y extends keyof DetailsMap ? DetailsMap[Y] : empty; |