exchange

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

commit 98997d9eccfbe81e256b6cc5d469aab5c071b8bc
parent c7ce697525df08669bb3da35f7438081d66c4e97
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 26 Sep 2025 18:40:19 +0200

-update GANA

Diffstat:
Msrc/include/taler/taler_error_codes.h | 8++++++++
Msrc/util/taler_error_codes.c | 9++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h @@ -5345,6 +5345,14 @@ enum TALER_ErrorCode /** + * A charity with the same public key is already registered. + * 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_DONAU_CHARITY_PUB_EXISTS = 8618, + + + /** * 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 @@ -4619,6 +4619,13 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { }, { + .ec = TALER_EC_DONAU_CHARITY_PUB_EXISTS, + .hint = gettext_noop ( + "A charity with the same public key is already registered."), + .http_code = MHD_HTTP_NOT_FOUND + }, + + { .ec = TALER_EC_LIBEUFIN_NEXUS_GENERIC_ERROR, .hint = gettext_noop ( "A generic error happened in the LibEuFin nexus. See the enclose details JSON for more information."), @@ -4747,7 +4754,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { /** * The length of @e code_hint_pairs. */ -static const unsigned int code_hint_pairs_length = 679; +static const unsigned int code_hint_pairs_length = 680; const char *