exchange

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

commit cfa1403dace40e7b336603c1f64dcad1132956b8
parent 92c4d483da9310e1f7ceb38a78949a5f8f2ff60c
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
Date:   Mon, 14 Sep 2026 18:26:05 +0200

bump ec

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 @@ -4048,6 +4048,14 @@ enum TALER_ErrorCode /** + * The OTP device algorithm cannot be changed, or the device was concurrently replaced or changed during the update. + * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409). + * (A value of 0 indicates that the error is generated client-side). + */ + TALER_EC_MERCHANT_PRIVATE_PATCH_OTP_DEVICES_CONFLICT = 2852, + + + /** * Amount given in the using template and in the template contract. There is a conflict. * 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 @@ -3911,6 +3911,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { }, { + /* 2852 */ + .ec = TALER_EC_MERCHANT_PRIVATE_PATCH_OTP_DEVICES_CONFLICT, + .hint = + "The OTP device algorithm cannot be changed, or the device was concurrently replaced or changed during the update.", + .http_code = MHD_HTTP_CONFLICT + }, + + { /* 2860 */ .ec = TALER_EC_MERCHANT_POST_USING_TEMPLATES_AMOUNT_CONFLICT_TEMPLATES_CONTRACT_AMOUNT, @@ -6118,7 +6126,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = { /** * The length of @e code_hint_pairs. */ -static const unsigned int code_hint_pairs_length = 788; +static const unsigned int code_hint_pairs_length = 789; const char *