commit c7ce697525df08669bb3da35f7438081d66c4e97
parent 652e97b933b18cd56db613944de5d4ad6613a4a1
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 26 Sep 2025 14:05:30 +0200
-gana update
Diffstat:
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h
@@ -2600,6 +2600,14 @@ enum TALER_ErrorCode
/**
+ * A donation authority (Donau) provided an invalid response. This should be analyzed by the administrator. Trying again later may help.
+ * 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_GENERIC_DONAU_INVALID_RESPONSE = 2032,
+
+
+ /**
* The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response.
* Returned with an HTTP status code of #MHD_HTTP_OK (200).
* (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
@@ -2263,6 +2263,13 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ .ec = TALER_EC_MERCHANT_GENERIC_DONAU_INVALID_RESPONSE,
+ .hint = gettext_noop (
+ "A donation authority (Donau) provided an invalid response. This should be analyzed by the administrator. Trying again later may help."),
+ .http_code = MHD_HTTP_BAD_GATEWAY
+ },
+
+ {
.ec = TALER_EC_MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE,
.hint = gettext_noop (
"The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response."),
@@ -4740,7 +4747,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 678;
+static const unsigned int code_hint_pairs_length = 679;
const char *