commit 9ed20c246907cc5b2a27dd532a6f4fa98c1bfb1c parent 6cde3221cafa512b9bb4103e75c25072e495e7e3 Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 30 Jul 2026 14:17:18 +0200 new ECs for client-visible wallet-core errors Wallet-core raised these as plain exceptions, so clients saw WALLET_UNEXPECTED_EXCEPTION and could not tell them apart. Diffstat:
| M | gnu-taler-error-codes/registry.rec | | | 70 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 70 insertions(+), 0 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec @@ -3341,6 +3341,76 @@ Name: WALLET_PURCHASE_NOT_FOUND Description: The wallet does not have a purchase for the requested order. HttpStatus: 0 +Value: 7052 +Name: WALLET_TRANSACTION_NOT_FOUND +Description: The wallet does not have a transaction with the requested transaction identifier. +HttpStatus: 0 + +Value: 7053 +Name: WALLET_TRANSACTION_ACTION_UNSUPPORTED +Description: The requested action is not supported for this type of transaction. +HttpStatus: 0 + +Value: 7054 +Name: WALLET_KYC_LIMIT_EXCEEDED +Description: The operation would exceed a limit imposed by the exchange that the user cannot raise by completing a KYC process. +HttpStatus: 0 + +Value: 7055 +Name: WALLET_NO_SUITABLE_EXCHANGE +Description: The wallet does not know an exchange that can be used for this operation. Check that an exchange for the requested currency has been added to the wallet. +HttpStatus: 0 + +Value: 7056 +Name: WALLET_BANK_ACCOUNT_NOT_FOUND +Description: The wallet does not have a known bank account with the requested identifier. +HttpStatus: 0 + +Value: 7057 +Name: WALLET_PEER_CONTRACT_NOT_FOUND +Description: The exchange does not know the contract of this peer-to-peer payment. It may have expired. +HttpStatus: 0 + +Value: 7058 +Name: WALLET_PEER_PUSH_CREDIT_PURSE_GONE +Description: The purse of this peer-to-peer push payment is gone. The sender likely aborted the payment. +HttpStatus: 0 + +Value: 7059 +Name: WALLET_PEER_PULL_DEBIT_ALREADY_PAID +Description: This invoice has already been paid, possibly by another wallet. +HttpStatus: 0 + +Value: 7060 +Name: WALLET_TOKENS_IN_USE +Description: The tokens can not be deleted, as at least one of them is currently being used in a transaction. +HttpStatus: 0 + +Value: 7061 +Name: WALLET_DB_BACKEND_UNSUPPORTED +Description: The operation is not supported by the database backend that the wallet is currently running on. +HttpStatus: 0 + +Value: 7062 +Name: WALLET_MAILBOX_UNAVAILABLE +Description: The wallet could not use the mailbox service. +HttpStatus: 0 + +Value: 7063 +Name: WALLET_ALIAS_REGISTRATION_FAILED +Description: The wallet could not register an alias with the directory service. +HttpStatus: 0 + +Value: 7064 +Name: WALLET_CONTRACT_TERMS_UNSUPPORTED +Description: The contract terms use a feature that this version of the wallet does not support. Updating the wallet may help. +HttpStatus: 0 + +Value: 7065 +Name: WALLET_EXCHANGE_SIGNATURE_INVALID +Description: The exchange served data that is not correctly signed by its master key. The wallet refuses to use this exchange. +HttpStatus: 0 + # 8000 - 8499: Reserved for Anastasis Value: 8000