commit c0221ed2443671d1d888529cd2ce64879a85fc3a
parent 41283ab62dbd66c032d64eab222ff12c49b04db0
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 2 Jun 2026 20:47:39 +0200
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
@@ -5737,6 +5737,14 @@ enum TALER_ErrorCode
/**
+ * The donation unit is not valid for the year specified by the client.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_DONAU_GENERIC_DONATION_UNIT_WRONG_YEAR = 8621,
+
+
+ /**
* A generic error happened in the LibEuFin nexus. See the enclose details JSON for more information.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (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
@@ -5496,6 +5496,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 8621 */
+ .ec = TALER_EC_DONAU_GENERIC_DONATION_UNIT_WRONG_YEAR,
+ .hint =
+ "The donation unit is not valid for the year specified by the client.",
+ .http_code = MHD_HTTP_CONFLICT
+ },
+
+ {
/* 9000 */
.ec = TALER_EC_LIBEUFIN_NEXUS_GENERIC_ERROR,
.hint =
@@ -5705,7 +5713,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 737;
+static const unsigned int code_hint_pairs_length = 738;
const char *