commit 4d5f227fed98939fb472725f9355ded51f1d3b79
parent 5d53d7734fb4d5e002f38b3e8d0e163a156b8f2a
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Mon, 26 Jan 2026 06:18:50 +0100
update gana
Diffstat:
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
@@ -2720,6 +2720,14 @@ enum TALER_ErrorCode
/**
+ * The merchant does not have a charity associated with the selected Donau. As a result, it cannot generate the requested donation receipt. This could happen if the charity was removed from the backend between order creation and payment.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_MERCHANT_GENERIC_DONAU_CHARITY_UNKNOWN = 2039,
+
+
+ /**
* 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
@@ -2703,6 +2703,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2039 */
+ .ec = TALER_EC_MERCHANT_GENERIC_DONAU_CHARITY_UNKNOWN,
+ .hint = gettext_noop (
+ "The merchant does not have a charity associated with the selected Donau. As a result, it cannot generate the requested donation receipt. This could happen if the charity was removed from the backend between order creation and payment."),
+ .http_code = MHD_HTTP_NOT_FOUND
+ },
+
+ {
/* 2100 */
.ec = TALER_EC_MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE,
.hint = gettext_noop (
@@ -5627,7 +5635,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 704;
+static const unsigned int code_hint_pairs_length = 705;
const char *