From 3e111f42636a634d9144b5ae66dcd6d342d0c4d2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 21 Jul 2017 15:18:59 +0200 Subject: introducting error code for merchant detecting wire fee inconsistency --- src/include/taler_error_codes.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index d1727c7d4..56c02264b 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -1251,7 +1251,8 @@ enum TALER_ErrorCode /** * The exchange gave conflicting information about a coin which has * been wire transferred. - * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR. + * The response is provided with HTTP status code + * MHD_HTTP_INTERNAL_SERVER_ERROR (FIXME: bad choice!). */ TALER_EC_TRACK_TRANSFER_CONFLICTING_REPORTS = 2408, @@ -1260,6 +1261,14 @@ enum TALER_ErrorCode */ TALER_EC_TRACK_TRANSFER_JSON_RESPONSE_ERROR = 2409, + /** + * The exchange charged a different wire fee than what it + * originally advertised, and it is higher. The response + * is provied with an HTTP status of + * MHD_HTTP_INTERNAL_SERVER_ERROR (FIXME: bad choice!). + */ + TALER_EC_TRACK_TRANSFER_JSON_BAD_WIRE_FEE = 2410, + /** * The hash provided in the request of /map/in does not match * the contract sent alongside in the same request. -- cgit v1.2.3