exchange

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

commit e190fd533c3bc8683390f12a239ef48b00daf7de
parent 54f842bae136ac309d54f24b5bdba6089b612e6e
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 25 Mar 2026 23:51:18 +0100

gana bump

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

diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h @@ -3524,6 +3524,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 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). diff --git a/src/util/taler_error_codes.c b/src/util/taler_error_codes.c @@ -3501,6 +3501,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 + }, + + { /* 2520 */ .ec = TALER_EC_MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT, .hint = gettext_noop ( @@ -5726,7 +5735,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { /** * The length of @e code_hint_pairs. */ -static const unsigned int code_hint_pairs_length = 717; +static const unsigned int code_hint_pairs_length = 718; const char *