diff options
author | Florian Dold <florian@dold.me> | 2020-11-03 17:39:30 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-11-03 17:39:30 +0100 |
commit | dffb293f2a3fa836ee007f19e36f873ed5d295e7 (patch) | |
tree | d2be687c45163c4f3fa597cf77d3aceecbd87178 /packages/taler-wallet-core/src/TalerErrorCode.ts | |
parent | 0d37ec5e91f6704261070e01bb77d7c46f85b7a2 (diff) | |
download | wallet-core-dffb293f2a3fa836ee007f19e36f873ed5d295e7.tar.gz wallet-core-dffb293f2a3fa836ee007f19e36f873ed5d295e7.tar.bz2 wallet-core-dffb293f2a3fa836ee007f19e36f873ed5d295e7.zip |
check contract terms signature, handle errors
Diffstat (limited to 'packages/taler-wallet-core/src/TalerErrorCode.ts')
-rw-r--r-- | packages/taler-wallet-core/src/TalerErrorCode.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/TalerErrorCode.ts b/packages/taler-wallet-core/src/TalerErrorCode.ts index bb97574ba..239dc2bd4 100644 --- a/packages/taler-wallet-core/src/TalerErrorCode.ts +++ b/packages/taler-wallet-core/src/TalerErrorCode.ts @@ -3308,6 +3308,13 @@ export enum TalerErrorCode { WALLET_CONTRACT_TERMS_BASE_URL_MISMATCH = 7018, /** + * The merchant's signature on the contract terms is invalid. + * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0). + * (A value of 0 indicates that the error is generated client-side). + */ + WALLET_CONTRACT_TERMS_SIGNATURE_INVALID = 7019, + + /** * my comment * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500). * (A value of 0 indicates that the error is generated client-side). |