diff options
author | Florian Dold <florian@dold.me> | 2024-06-11 16:39:09 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-06-11 16:39:09 +0200 |
commit | ce89223b51e71dae83d00fa93a0ab1c09b3c190a (patch) | |
tree | 7e8b47d84cdc7454f237e610e6253e9ad63dfc84 /packages/taler-util | |
parent | 77456187e967a81fe77de59a5df42460d54f0972 (diff) | |
download | wallet-core-ce89223b51e71dae83d00fa93a0ab1c09b3c190a.tar.xz |
wallet-core: check that ToS was accepted for certain requests
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/errors.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-util/src/errors.ts b/packages/taler-util/src/errors.ts index 9378d25e8..d68177e4e 100644 --- a/packages/taler-util/src/errors.ts +++ b/packages/taler-util/src/errors.ts @@ -166,6 +166,11 @@ export interface DetailsMap { [TalerErrorCode.WALLET_DB_UNAVAILABLE]: { innerError: TalerErrorDetail | undefined; }; + [TalerErrorCode.WALLET_EXCHANGE_TOS_NOT_ACCEPTED]: { + exchangeBaseUrl: string; + tosStatus: string; + currentEtag: string | undefined; + }; } type ErrBody<Y> = Y extends keyof DetailsMap ? DetailsMap[Y] : empty; |