commit 758f1b7b6b162e9e21383bf3f918ae5f0be22afd
parent f3c59e086fee0faac3371f8b4827b6dfc4dd3b18
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 20 Apr 2026 14:23:47 +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
@@ -5889,6 +5889,14 @@ enum TALER_ErrorCode
/**
+ * The specified expiration time for the cookie is longer than what the purchase allows. The request may succeed with a shorter expiration time. Alternatively, the user may need to purchase access again.
+ * Returned with an HTTP status code of #MHD_HTTP_GONE (410).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_PAIVANA_TOO_LATE = 9806,
+
+
+ /**
* End of error code range.
* 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
@@ -5637,6 +5637,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 9806 */
+ .ec = TALER_EC_PAIVANA_TOO_LATE,
+ .hint =
+ "The specified expiration time for the cookie is longer than what the purchase allows. The request may succeed with a shorter expiration time. Alternatively, the user may need to purchase access again.",
+ .http_code = MHD_HTTP_GONE
+ },
+
+ {
/* 9999 */
.ec = TALER_EC_END,
.hint = "End of error code range.",
@@ -5650,7 +5658,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 730;
+static const unsigned int code_hint_pairs_length = 731;
const char *