exchange

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

commit 43bb9eca02d40c97db776723f3fb3c1edbac8265
parent e190fd533c3bc8683390f12a239ef48b00daf7de
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 26 Mar 2026 17:01:24 +0100

update GANA

Diffstat:
Msrc/include/taler/taler_error_codes.h | 18+++++++++---------
Msrc/util/taler_error_codes.c | 18+++++++++---------
2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h @@ -3524,15 +3524,6 @@ enum TALER_ErrorCode /** - * The client requested a report granularity that is not available at the backend. Possible solutions include extending the backend code and/or the database statistic triggers to support the desired data granularity. Alternatively, the client could request a different granularity. - * 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_MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE = 2525 - , - - - /** * The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid. * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409). * (A value of 0 indicates that the error is generated client-side). @@ -3549,6 +3540,15 @@ enum TALER_ErrorCode /** + * The client requested a report granularity that is not available at the backend. Possible solutions include extending the backend code and/or the database statistic triggers to support the desired data granularity. Alternatively, the client could request a different granularity. + * 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_MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE = 2525 + , + + + /** * The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it exceeds the original price paid by the customer. * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409). * (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 @@ -3501,15 +3501,6 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { }, { - /* 2525 */ - .ec = - TALER_EC_MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE, - .hint = gettext_noop ( - "The client requested a report granularity that is not available at the backend. Possible solutions include extending the backend code and/or the database statistic triggers to support the desired data granularity. Alternatively, the client could request a different granularity."), - .http_code = MHD_HTTP_GONE - }, - - { /* 2520 */ .ec = TALER_EC_MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT, .hint = gettext_noop ( @@ -3526,6 +3517,15 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { }, { + /* 2525 */ + .ec = + TALER_EC_MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE, + .hint = gettext_noop ( + "The client requested a report granularity that is not available at the backend. Possible solutions include extending the backend code and/or the database statistic triggers to support the desired data granularity. Alternatively, the client could request a different granularity."), + .http_code = MHD_HTTP_GONE + }, + + { /* 2530 */ .ec = TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT, .hint = gettext_noop (