more error codes for the merchant

This commit is contained in:
Christian Grothoff 2019-01-10 14:31:47 +01:00
parent 2143266a50
commit 2a01aaa917
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -735,6 +735,13 @@ enum TALER_ErrorCode
*/
TALER_EC_REFUND_MERCHANT_SIGNATURE_INVALID = 1513,
/**
* Merchant backend failed to create the refund confirmation signature.
* This response is provided with HTTP status code
* MHD_HTTP_INTERNAL_SERVER_ERROR.
*/
TALER_EC_REFUND_MERCHANT_SIGNING_FAILED = 1514,
/**
* The wire format specified in the "sender_account_details"
@ -1375,6 +1382,12 @@ enum TALER_ErrorCode
*/
TALER_EC_PAY_DB_STORE_PAYMENTS_ERROR = 2605,
/**
* The backend failed to sign the refund request.
*/
TALER_EC_PAY_REFUND_SIGNATURE_FAILED = 2606,
/**
* The backend does not know the instance that was supposed to support
* the tip. Likely to be a configuration error. Returned with an
@ -1425,6 +1438,63 @@ enum TALER_ErrorCode
*/
TALER_EC_TIP_AUTHORIZE_DB_SOFT_ERROR = 2706,
/**
* The backend failed to obtain a reserve status from the exchange.
*/
TALER_EC_TIP_QUERY_RESERVE_STATUS_FAILED_EXCHANGE_DOWN = 2707,
/**
* The backend got an empty (!) reserve history from the exchange.
*/
TALER_EC_TIP_QUERY_RESERVE_HISTORY_FAILED_EMPTY = 2708,
/**
* The backend got an invalid reserve history
* (fails to start with a deposit) from the exchange.
*/
TALER_EC_TIP_QUERY_RESERVE_HISTORY_INVALID_NO_DEPOSIT = 2709,
/**
* The backend got an reserve history
* with a bad currency from the exchange.
*/
TALER_EC_TIP_QUERY_RESERVE_HISTORY_INVALID_CURRENCY = 2710,
/**
* The backend got a reserve with a currency that does not match
* the backend's currency.
*/
TALER_EC_TIP_QUERY_RESERVE_CURRENCY_MISSMATCH = 2711,
/**
* The backend got a reserve history with amounts it cannot
* process (addition failure in deposits).
*/
TALER_EC_TIP_QUERY_RESERVE_HISTORY_ARITHMETIC_ISSUE_DEPOSIT = 2712,
/**
* The backend got a reserve history with amounts it cannot
* process (addition failure in withdraw amounts).
*/
TALER_EC_TIP_QUERY_RESERVE_HISTORY_ARITHMETIC_ISSUE_WITHDRAW = 2713,
/**
* The backend got a reserve history with amounts it cannot
* process (addition failure in closing amounts).
*/
TALER_EC_TIP_QUERY_RESERVE_HISTORY_ARITHMETIC_ISSUE_CLOSED = 2714,
/**
* The backend got a reserve history with inconsistent amounts.
*/
TALER_EC_TIP_QUERY_RESERVE_HISTORY_ARITHMETIC_ISSUE_INCONSISTENT = 2715,
/**
* The backend encountered a database error querying tipping reserves.
*/
TALER_EC_TIP_QUERY_DB_ERROR = 2716,
/**
* The backend had trouble accessing the database to persist
* information about enabling tips.