commit f8c150fde8a0d5465db31c9830dc5cd1a7880b7b
parent e1d65f0758c0662f003e2bc1c06b5ef00bda4a68
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 26 Dec 2025 23:47:42 +0100
gana update
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
@@ -2696,6 +2696,14 @@ enum TALER_ErrorCode
/**
+ * The product group ID provided to the backend is not known to the backend.
+ * 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_PRODUCT_GROUP_UNKNOWN = 2036,
+
+
+ /**
* 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
@@ -2679,6 +2679,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2036 */
+ .ec = TALER_EC_MERCHANT_GENERIC_PRODUCT_GROUP_UNKNOWN,
+ .hint = gettext_noop (
+ "The product group ID provided to the backend is not known to the backend."),
+ .http_code = MHD_HTTP_NOT_FOUND
+ },
+
+ {
/* 2100 */
.ec = TALER_EC_MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE,
.hint = gettext_noop (
@@ -5547,7 +5555,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 694;
+static const unsigned int code_hint_pairs_length = 695;
const char *