diff options
author | Florian Dold <florian@dold.me> | 2023-06-06 17:18:53 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-06 17:18:53 +0200 |
commit | 698f356659b1c2b029eaaa22c74f3474ff2f99c1 (patch) | |
tree | 1f551f06c06d2db0c408e2fb80a2f2be71811cc3 /packages/taler-util/src/errors.ts | |
parent | 002ab0dab7b83c5999b0f82c430e716c718251e6 (diff) | |
download | wallet-core-698f356659b1c2b029eaaa22c74f3474ff2f99c1.tar.xz |
wallet-core: check base URL reported by exchange
Diffstat (limited to 'packages/taler-util/src/errors.ts')
-rw-r--r-- | packages/taler-util/src/errors.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-util/src/errors.ts b/packages/taler-util/src/errors.ts index b5fb7be2a..c709c9a4c 100644 --- a/packages/taler-util/src/errors.ts +++ b/packages/taler-util/src/errors.ts @@ -129,6 +129,10 @@ export interface DetailsMap { */ errors: TalerErrorDetail[]; }; + [TalerErrorCode.WALLET_EXCHANGE_BASE_URL_MISMATCH]: { + urlWallet: string; + urlExchange: string; + } } type ErrBody<Y> = Y extends keyof DetailsMap ? DetailsMap[Y] : empty; |