diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-07-21 15:18:59 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-07-21 15:18:59 +0200 |
commit | 3e111f42636a634d9144b5ae66dcd6d342d0c4d2 (patch) | |
tree | f63657f9713aaa59857ae2d49315a0743e321853 | |
parent | 1e8d0eb4623bdc1ec2ee6d4edc406085d4c40a7a (diff) |
introducting error code for merchant detecting wire fee inconsistency
-rw-r--r-- | src/include/taler_error_codes.h | 11 |
1 files changed, 10 insertions, 1 deletions
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, @@ -1261,6 +1262,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. */ |