exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 19cbf79be97f9b4311da38f2890dea902aa9349c
parent 72ade7bc90916061574f432e009b0554b70c2f87
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  4 Jan 2026 22:55:44 +0100

update GANA

Diffstat:
Msrc/include/taler/taler_error_codes.h | 8++++++++
Msrc/util/taler_error_codes.c | 10+++++++++-
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 @@ -2712,6 +2712,14 @@ enum TALER_ErrorCode /** + * The session 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_SESSION_UNKNOWN = 2038, + + + /** * 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 @@ -2695,6 +2695,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { }, { + /* 2038 */ + .ec = TALER_EC_MERCHANT_GENERIC_SESSION_UNKNOWN, + .hint = gettext_noop ( + "The session 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 ( @@ -5587,7 +5595,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { /** * The length of @e code_hint_pairs. */ -static const unsigned int code_hint_pairs_length = 699; +static const unsigned int code_hint_pairs_length = 700; const char *