introducting error code for merchant detecting wire fee inconsistency

This commit is contained in:
Christian Grothoff 2017-07-21 15:18:59 +02:00
parent 1e8d0eb462
commit 3e111f4263
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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.