commit db85953e014827f43d19c25a27d23d4b68a436a7
parent fbd84076f43e972ae82ae4bf3695832ed0fe2b25
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 2 Mar 2026 18:23:39 +0100
update GANA
Diffstat:
2 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h
@@ -3274,6 +3274,22 @@ enum TALER_ErrorCode
/**
+ * The merchant backend failed to reach the banking gateway to shorten the wire transfer subject. This probably means that the banking gateway of 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_BANK_GATEWAY_UNREACHABLE = 2275,
+
+
+ /**
+ * The merchant backend failed to reach the banking gateway to shorten the wire transfer subject. This probably means that the banking gateway of 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_EXCHANGE_TOO_OLD = 2276,
+
+
+ /**
* 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
@@ -3255,6 +3255,22 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2275 */
+ .ec = TALER_EC_MERCHANT_POST_ACCOUNTS_KYCAUTH_BANK_GATEWAY_UNREACHABLE,
+ .hint = gettext_noop (
+ "The merchant backend failed to reach the banking gateway to shorten the wire transfer subject. This probably means that the banking gateway of the exchange is currently down. Contact the exchange operator or simply retry again later."),
+ .http_code = MHD_HTTP_BAD_GATEWAY
+ },
+
+ {
+ /* 2276 */
+ .ec = TALER_EC_MERCHANT_POST_ACCOUNTS_EXCHANGE_TOO_OLD,
+ .hint = gettext_noop (
+ "The merchant backend failed to reach the banking gateway to shorten the wire transfer subject. This probably means that the banking gateway of 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 (
@@ -5652,7 +5668,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 707;
+static const unsigned int code_hint_pairs_length = 709;
const char *