exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 88fbbb63f1b61de56118da16cbcfd96c849d23b6
parent db85953e014827f43d19c25a27d23d4b68a436a7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  2 Mar 2026 18:27:57 +0100

update GANA

Diffstat:
Msrc/include/taler/taler_error_codes.h | 8++++++++
Msrc/util/taler_error_codes.c | 10+++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h @@ -3290,6 +3290,14 @@ enum TALER_ErrorCode /** + * The merchant backend failed to reach the specified exchange. This probably means that the exchange is currently down. Contact the exchange operator or simply retry again later. + * Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502). + * (A value of 0 indicates that the error is generated client-side). + */ + TALER_EC_MERCHANT_POST_ACCOUNTS_KYCAUTH_EXCHANGE_UNREACHABLE = 2277, + + + /** * We could not claim the order because the backend is unaware of it. * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404). * (A value of 0 indicates that the error is generated client-side). diff --git a/src/util/taler_error_codes.c b/src/util/taler_error_codes.c @@ -3271,6 +3271,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { }, { + /* 2277 */ + .ec = TALER_EC_MERCHANT_POST_ACCOUNTS_KYCAUTH_EXCHANGE_UNREACHABLE, + .hint = gettext_noop ( + "The merchant backend failed to reach the specified exchange. This probably means that the exchange is currently down. Contact the exchange operator or simply retry again later."), + .http_code = MHD_HTTP_BAD_GATEWAY + }, + + { /* 2300 */ .ec = TALER_EC_MERCHANT_POST_ORDERS_ID_CLAIM_NOT_FOUND, .hint = gettext_noop ( @@ -5668,7 +5676,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { /** * The length of @e code_hint_pairs. */ -static const unsigned int code_hint_pairs_length = 709; +static const unsigned int code_hint_pairs_length = 710; const char *