commit 9d8f7012dad8e52e91749c7b2e8be0286848a0d0
parent ef9882d650cc9ec378380f28255ec42abc9c379c
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 5 Feb 2026 16:53:15 +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
@@ -2728,6 +2728,14 @@ enum TALER_ErrorCode
/**
+ * The merchant does not expect any transfer with the given ID and can thus not return any details about 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).
+ */
+ TALER_EC_MERCHANT_GENERIC_EXPECTED_TRANSFER_UNKNOWN = 2040,
+
+
+ /**
* 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
@@ -2711,6 +2711,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2040 */
+ .ec = TALER_EC_MERCHANT_GENERIC_EXPECTED_TRANSFER_UNKNOWN,
+ .hint = gettext_noop (
+ "The merchant does not expect any transfer with the given ID and can thus not return any details about it."),
+ .http_code = MHD_HTTP_NOT_FOUND
+ },
+
+ {
/* 2100 */
.ec = TALER_EC_MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE,
.hint = gettext_noop (
@@ -5635,7 +5643,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 705;
+static const unsigned int code_hint_pairs_length = 706;
const char *