summaryrefslogtreecommitdiff
path: root/src/include/taler_error_codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r--src/include/taler_error_codes.h438
1 files changed, 414 insertions, 24 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 94475f19..f75464c3 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -118,6 +118,19 @@ enum TALER_ErrorCode
TALER_EC_HOLE_IN_WIRE_FEE_STRUCTURE = 13,
/**
+ * The version string given does not follow the expected
+ * CURRENT:REVISION:AGE Format. Generated as an error on the client
+ * side.
+ */
+ TALER_EC_VERSION_MALFORMED = 14,
+
+ /**
+ * The client-side experienced an internal failure. Generated as an
+ * error on the client side.
+ */
+ TALER_EC_CLIENT_INTERNAL_FAILURE = 15,
+
+ /**
* The exchange failed to even just initialize its connection to the
* database. This response is provided with HTTP status code
* #MHD_HTTP_INTERNAL_SERVER_ERROR.
@@ -404,6 +417,12 @@ enum TALER_ErrorCode
TALER_EC_WITHDRAW_REPLY_MALFORMED = 1118,
/**
+ * The client failed to unblind the blind signature. This error is not
+ * used in the protocol but created client-side.
+ */
+ TALER_EC_WITHDRAW_UNBLIND_FAILURE = 1119,
+
+ /**
* The exchange failed to obtain the transaction history of the given
* reserve from the database. This response is provided with HTTP
* status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
@@ -825,7 +844,7 @@ enum TALER_ErrorCode
/**
* The currency specified for the refund is different from the
* currency of the coin. This response is provided with HTTP status
- * code #MHD_HTTP_PRECONDITION_FAILED.
+ * code #MHD_HTTP_BAD_REQUEST.
*/
TALER_EC_REFUND_CURRENCY_MISMATCH = 1504,
@@ -1111,6 +1130,12 @@ enum TALER_ErrorCode
TALER_EC_KEYS_TIMETRAVEL_FORBIDDEN = 1902,
/**
+ * The keys response was malformed. This error is generated client-
+ * side.
+ */
+ TALER_EC_KEYS_INVALID = 1903,
+
+ /**
* The backend could not find the merchant instance specified in the
* request. This response is provided with HTTP status code
* #MHD_HTTP_NOT_FOUND.
@@ -1124,6 +1149,12 @@ enum TALER_ErrorCode
TALER_EC_PROPOSAL_INSTANCE_CONFIGURATION_LACKS_WIRE = 2002,
/**
+ * The merchant failed to provide a meaningful response to a /pay
+ * request. This error is created client-side.
+ */
+ TALER_EC_PAY_MERCHANT_INVALID_RESPONSE = 2100,
+
+ /**
* The exchange failed to provide a meaningful response to a /deposit
* request. This response is provided with HTTP status code
* #MHD_HTTP_FAILED_DEPENDENCY, or #MHD_HTTP_CONFLICT in case the
@@ -1178,14 +1209,14 @@ enum TALER_ErrorCode
* insufficient to satisfy the required amount for the contract. The
* client should revisit the logic used to calculate fees it must
* cover. This response is provided with HTTP status code
- * #MHD_HTTP_BAD_REQUEST.
+ * #MHD_HTTP_ACCEPTED.
*/
TALER_EC_PAY_PAYMENT_INSUFFICIENT_DUE_TO_FEES = 2108,
/**
* Even if we do not consider deposit and wire fees, the payment is
* insufficient to satisfy the required amount for the contract. This
- * response is provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
+ * response is provided with HTTP status code #MHD_HTTP_ACCEPTED.
*/
TALER_EC_PAY_PAYMENT_INSUFFICIENT = 2109,
@@ -1288,13 +1319,6 @@ enum TALER_ErrorCode
TALER_EC_PAY_WIRE_FEE_CURRENCY_MISMATCH = 2125,
/**
- * The merchant refuses to abort and refund the payment operation as
- * the payment succeeded already. This response is provided with HTTP
- * status code of #MHD_HTTP_FORBIDDEN.
- */
- TALER_EC_PAY_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE = 2126,
-
- /**
* A unknown merchant public key was included in the payment. That
* happens typically when the wallet sends the payment to the wrong
* merchant instance. This response is provided with an HTTP status
@@ -1344,6 +1368,85 @@ enum TALER_ErrorCode
TALER_EC_PAY_REFUNDS_EXCEED_PAYMENTS = 2133,
/**
+ * Legacy stuff. Remove me with protocol v1. This response is provided
+ * with HTTP status code #MHD_HTTP_PREREQUISTE.
+ */
+ TALER_EC_PAY_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE = 2134,
+
+ /**
+ * The merchant failed to contact the exchange. This response is
+ * provided with HTTP status code of #MHD_HTTP_FAILED_DEPENDENCY.
+ */
+ TALER_EC_ABORT_EXCHANGE_KEYS_FAILURE = 2150,
+
+ /**
+ * The merchant failed to send the exchange the refund request. This
+ * response is provided with HTTP status code of
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ABORT_EXCHANGE_REFUND_FAILED = 2151,
+
+ /**
+ * The merchant failed to find the exchange to process the lookup.
+ * This response is provided with HTTP status code of
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ABORT_EXCHANGE_LOOKUP_FAILED = 2152,
+
+ /**
+ * The merchant failed to store the abort request in its database.
+ * This response is provided with HTTP status code of
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ABORT_DB_STORE_ABORT_ERROR = 2153,
+
+ /**
+ * The merchant failed to repeatedly serialize the transaction. This
+ * response is provided with HTTP status code of
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ABORT_DB_STORE_TRANSACTION_ERROR = 2154,
+
+ /**
+ * The merchant failed in the lookup part of the transaction. This
+ * response is provided with HTTP status code of
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ABORT_DB_FETCH_TRANSACTION_ERROR = 2155,
+
+ /**
+ * The merchant could not find the contract. This response is provided
+ * with HTTP status code of #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_ABORT_CONTRACT_NOT_FOUND = 2156,
+
+ /**
+ * The payment was already completed and thus cannot be aborted
+ * anymore. This response is provided with HTTP status code of
+ * #MHD_HTTP_PRECONDITION_FAILED.
+ */
+ TALER_EC_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE = 2157,
+
+ /**
+ * The hash provided by the wallet does not match the order. This
+ * response is provided with HTTP status code of #MHD_HTTP_FORBIDDEN.
+ */
+ TALER_EC_ABORT_CONTRACT_HASH_MISSMATCH = 2158,
+
+ /**
+ * The array of coins cannot be empty. This response is provided with
+ * HTTP status code of #MHD_HTTP_BAD_REQUEST.
+ */
+ TALER_EC_ABORT_COINS_ARRAY_EMPTY = 2159,
+
+ /**
+ * The merchant experienced a timeout processing the request. This
+ * response is provided with HTTP status code of
+ * #MHD_HTTP_REQUEST_TIMEOUT.
+ */
+ TALER_EC_ABORT_EXCHANGE_TIMEOUT = 2160,
+
+ /**
* Integer overflow with specified timestamp argument detected. This
* response is provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
*/
@@ -1363,6 +1466,12 @@ enum TALER_ErrorCode
TALER_EC_POLL_PAYMENT_CONTRACT_NOT_FOUND = 2250,
/**
+ * The response provided by the merchant backend was malformed. This
+ * error is created client-side.
+ */
+ TALER_EC_POLL_PAYMENT_REPLY_MALFORMED = 2251,
+
+ /**
* We failed to contact the exchange for the /track/transaction
* request. This response is provided with HTTP status code
* #MHD_HTTP_SERVICE_UNAVAILABLE.
@@ -1502,6 +1611,70 @@ enum TALER_ErrorCode
TALER_EC_TRACK_TRANSFER_JSON_BAD_WIRE_FEE = 2410,
/**
+ * The merchant backend cannot create an instance under the given
+ * identifier as one already exists. Use PATCH to modify the existing
+ * entry. The response is provied with an HTTP status of
+ * #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_POST_INSTANCES_ALREADY_EXISTS = 2450,
+
+ /**
+ * The merchant backend cannot create an instance because the
+ * specified bank accounts are somehow invalid. The response is
+ * provied with an HTTP status of #MHD_HTTP_BAD_REQUEST.
+ */
+ TALER_EC_POST_INSTANCES_BAD_PAYTO_URIS = 2451,
+
+ /**
+ * The merchant backend cannot create an instance because it failed to
+ * start the database transaction. The response is provied with an
+ * HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_POST_INSTANCES_DB_START_ERROR = 2452,
+
+ /**
+ * The merchant backend cannot create an instance because it failed to
+ * commit the database transaction. The response is provied with an
+ * HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_POST_INSTANCES_DB_COMMIT_ERROR = 2453,
+
+ /**
+ * The merchant backend cannot delete an instance because it failed to
+ * commit the database transaction. The response is provied with an
+ * HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_DELETE_INSTANCES_ID_DB_HARD_FAILURE = 2454,
+
+ /**
+ * The merchant backend cannot delete the data because it already does
+ * not exist. The response is provied with an HTTP status of
+ * #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_DELETE_INSTANCES_ID_NO_SUCH_INSTANCE = 2455,
+
+ /**
+ * The merchant backend cannot update an instance because the
+ * specified bank accounts are somehow invalid. The response is
+ * provied with an HTTP status of #MHD_HTTP_BAD_REQUEST.
+ */
+ TALER_EC_PATCH_INSTANCES_BAD_PAYTO_URIS = 2456,
+
+ /**
+ * The merchant backend cannot patch an instance because it failed to
+ * start the database transaction. The response is provied with an
+ * HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PATCH_INSTANCES_DB_START_ERROR = 2457,
+
+ /**
+ * The merchant backend cannot patch an instance because it failed to
+ * commit the database transaction. The response is provied with an
+ * HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PATCH_INSTANCES_DB_COMMIT_ERROR = 2458,
+
+ /**
* The hash provided in the request of /map/in does not match the
* contract sent alongside in the same request.
*/
@@ -1516,25 +1689,29 @@ enum TALER_ErrorCode
/**
* The backend encountered an error while trying to retrieve the
- * proposal data from database. Likely to be an internal error.
+ * proposal data from database. Likely to be an internal error. The
+ * response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
*/
TALER_EC_PROPOSAL_LOOKUP_DB_ERROR = 2502,
/**
* The proposal being looked up is not found on this merchant.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND
*/
TALER_EC_PROPOSAL_LOOKUP_NOT_FOUND = 2503,
/**
* The proposal had no timestamp and the backend failed to obtain the
- * local time. Likely to be an internal error.
+ * local time. Likely to be an internal error. The response is
+ * provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
*/
TALER_EC_PROPOSAL_NO_LOCALTIME = 2504,
/**
* The order provided to the backend could not be parsed, some
- * required fields were missing or ill-formed. Returned as a bad
- * request.
+ * required fields were missing or ill-formed. Returned with an HTTP
+ * status code #MHD_HTTP_BAD_REQUEST.
*/
TALER_EC_PROPOSAL_ORDER_PARSE_ERROR = 2505,
@@ -1561,12 +1738,194 @@ enum TALER_ErrorCode
/**
* The order provided to the backend uses an amount in a currency that
- * does not match the backend's configuration. Returned as a bad
- * request.
+ * does not match the backend's configuration. Returned with HTTP
+ * status code #MHD_HTTP_BAD_REQUEST.
*/
TALER_EC_PROPOSAL_ORDER_BAD_CURRENCY = 2509,
/**
+ * The response provided by the merchant backend was malformed. This
+ * error is created client-side.
+ */
+ TALER_EC_PROPOSAL_REPLY_MALFORMED = 2510,
+
+ /**
+ * The order provided to the backend could not be deleted, it is not
+ * known. Returned with an HTTP status code #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_ORDERS_DELETE_NO_SUCH_ORDER = 2511,
+
+ /**
+ * The order provided to the backend could not be deleted, our offer
+ * is still valid and awaiting payment. Returned with an HTTP status
+ * code #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_ORDERS_DELETE_AWAITING_PAYMENT = 2512,
+
+ /**
+ * The order provided to the backend could not be deleted, due to a
+ * database error. Returned with an HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ORDERS_DELETE_DB_HARD_FAILURE = 2513,
+
+ /**
+ * The order provided to the backend could not be completed, due to a
+ * database error trying to fetch product inventory data. Returned
+ * with an HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ORDERS_LOOKUP_PRODUCT_DB_HARD_FAILURE = 2514,
+
+ /**
+ * The order provided to the backend could not be completed, due to a
+ * database serialization error (which should be impossible) trying to
+ * fetch product inventory data. Returned with an HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ORDERS_LOOKUP_PRODUCT_DB_SOFT_FAILURE = 2515,
+
+ /**
+ * The order provided to the backend could not be completed, because a
+ * product to be completed via inventory data is not actually in our
+ * inventory. Returned with an HTTP status code #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_ORDERS_LOOKUP_PRODUCT_NOT_FOUND = 2516,
+
+ /**
+ * We could not obtain a list of all orders because of a database
+ * failure. Returned with an HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ORDERS_GET_DB_LOOKUP_ERROR = 2517,
+
+ /**
+ * We could not claim the order because of a database failure.
+ * Returned with an HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ORDERS_CLAIM_HARD_DB_ERROR = 2518,
+
+ /**
+ * We could not claim the order because of a database serialization
+ * failure. Returned with an HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_ORDERS_CLAIM_SOFT_DB_ERROR = 2519,
+
+ /**
+ * We could not claim the order because the backend is unaware of it.
+ * Returned with an HTTP status code #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_ORDERS_CLAIM_NOT_FOUND = 2520,
+
+ /**
+ * We could not claim the order because someone else claimed it first.
+ * Returned with an HTTP status code #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_ORDERS_ALREADY_CLAIMED = 2521,
+
+ /**
+ * The merchant backend failed to lookup the products. The response is
+ * provied with an HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_GET_PRODUCTS_DB_LOOKUP_ERROR = 2550,
+
+ /**
+ * The merchant backend failed to start the transaction. The response
+ * is provied with an HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PRODUCTS_POST_DB_START_ERROR = 2551,
+
+ /**
+ * The product ID exists. The response is provied with an HTTP status
+ * of #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_PRODUCTS_POST_CONFLICT_PRODUCT_EXISTS = 2552,
+
+ /**
+ * The merchant backend failed to serialize the transaction. The
+ * response is provied with an HTTP status of
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PRODUCTS_POST_DB_COMMIT_SOFT_ERROR = 2553,
+
+ /**
+ * The merchant backend failed to commit the transaction. The response
+ * is provied with an HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PRODUCTS_POST_DB_COMMIT_HARD_ERROR = 2554,
+
+ /**
+ * The merchant backend failed to commit the transaction. The response
+ * is provied with an HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PRODUCTS_PATCH_DB_COMMIT_HARD_ERROR = 2555,
+
+ /**
+ * The merchant backend did not find the product to be updated. The
+ * response is provied with an HTTP status of #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_PRODUCTS_PATCH_UNKNOWN_PRODUCT = 2556,
+
+ /**
+ * The update would have reduced the total amount of product lost,
+ * which is not allowed. The response is provied with an HTTP status
+ * of #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_PRODUCTS_PATCH_TOTAL_LOST_REDUCED = 2557,
+
+ /**
+ * The update would have mean that more stocks were lost than what
+ * remains from total inventory after sales, which is not allowed. The
+ * response is provied with an HTTP status of #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_PRODUCTS_PATCH_TOTAL_LOST_EXCEEDS_STOCKS = 2558,
+
+ /**
+ * The update would have reduced the total amount of product in stock,
+ * which is not allowed. The response is provied with an HTTP status
+ * of #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_PRODUCTS_PATCH_TOTAL_STOCKED_REDUCED = 2559,
+
+ /**
+ * The lock request is for more products than we have left (unlocked)
+ * in stock. The response is provied with an HTTP status of
+ * #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_PRODUCTS_LOCK_INSUFFICIENT_STOCKS = 2560,
+
+ /**
+ * The lock request is for an unknown product. The response is provied
+ * with an HTTP status of #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_PRODUCTS_LOCK_UNKNOWN_PRODUCT = 2561,
+
+ /**
+ * The deletion request resulted in a hard database error. The
+ * response is provied with an HTTP status of
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_PRODUCTS_DELETE_DB_HARD_FAILURE = 2562,
+
+ /**
+ * The deletion request was for a product unknown to the backend. The
+ * response is provied with an HTTP status of #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_PRODUCTS_DELETE_NO_SUCH_PRODUCT = 2563,
+
+ /**
+ * The deletion request is for a product that is locked. The response
+ * is provied with an HTTP status of #MHD_HTTP_CONFLICT.
+ */
+ TALER_EC_PRODUCTS_DELETE_CONFLICTING_LOCK = 2564,
+
+ /**
+ * The merchant returned a malformed response. Error created client-
+ * side.
+ */
+ TALER_EC_REFUND_LOOKUP_INVALID_RESPONSE = 2600,
+
+ /**
* The frontend gave an unknown order id to issue the refund to.
*/
TALER_EC_REFUND_ORDER_ID_UNKNOWN = 2601,
@@ -1606,6 +1965,13 @@ enum TALER_ErrorCode
TALER_EC_PAY_REFUND_SIGNATURE_FAILED = 2606,
/**
+ * The merchant backend is not available of any applicable refund(s)
+ * for this order. Returned with an HTTP status of
+ * #MHD_HTTP_NOT_FOUND.
+ */
+ TALER_EC_REFUND_LOOKUP_NO_REFUND = 2607,
+
+ /**
* The backend knows the instance that was supposed to support the
* tip, but it was not configured for tipping (i.e. has no exchange
* associated with it). Likely to be a configuration error. Returned
@@ -1737,6 +2103,12 @@ enum TALER_ErrorCode
TALER_EC_TIP_QUERY_INSTANCE_DOES_NOT_TIP = 2719,
/**
+ * The tip id is unknown. This could happen if the tip id is wrong or
+ * the tip authorization expired.
+ */
+ TALER_EC_TIP_QUERY_TIP_ID_UNKNOWN = 2720,
+
+ /**
* The backend had trouble accessing the database to persist
* information about enabling tips. Returned with an HTTP status code
* of internal error.
@@ -1778,14 +2150,14 @@ enum TALER_ErrorCode
/**
* We failed to contact the exchange to obtain the denomination keys.
- * Returned with a response code "failed dependency" (424).
+ * Returned with a response code #MHD_HTTP_FAILED_DEPENDENCY.
*/
TALER_EC_TIP_PICKUP_EXCHANGE_DOWN = 2805,
/**
* We contacted the exchange to obtain any denomination keys, but got
- * no valid keys. Returned with a response code "failed dependency"
- * (424).
+ * no valid keys. Returned with a response code
+ * #MHD_HTTP_FAILED_DEPENDENCY.
*/
TALER_EC_TIP_PICKUP_EXCHANGE_LACKED_KEYS = 2806,
@@ -1798,21 +2170,33 @@ enum TALER_ErrorCode
/**
* We encountered an arithmetic issue totaling up the amount to
- * withdraw. Returned with a response code of "bad request".
+ * withdraw. Returned with a response code of #MHD_HTTP_BAD_REQUEST.
*/
TALER_EC_TIP_PICKUP_EXCHANGE_AMOUNT_OVERFLOW = 2808,
/**
* The number of planchets specified exceeded the limit. Returned with
- * a response code of "bad request".
+ * a response code of #MHD_HTTP_BAD_REQUEST.
*/
TALER_EC_TIP_PICKUP_EXCHANGE_TOO_MANY_PLANCHETS = 2809,
/**
- * The tip id is unknown. This could happen if the tip id is wrong or
- * the tip authorization expired.
+ * The merchant failed to initialize the withdraw operaiton. Returned
+ * with a response code of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_PICKUP_WITHDRAW_FAILED = 2810,
+
+ /**
+ * The merchant failed to initialize the withdraw operaiton. Returned
+ * with a response code of #MHD_HTTP_FAILED_DEPENDENCY.
*/
- TALER_EC_TIP_QUERY_TIP_ID_UNKNOWN = 2810,
+ TALER_EC_TIP_PICKUP_WITHDRAW_FAILED_AT_EXCHANGE = 2811,
+
+ /**
+ * The client failed to unblind the signature returned by the
+ * merchant. Generated client-side.
+ */
+ TALER_EC_TIP_PICKUP_UNBLIND_FAILURE = 2812,
/**
* We failed to contract terms from our merchant database. The
@@ -1848,6 +2232,12 @@ enum TALER_ErrorCode
TALER_EC_CHECK_PAYMENT_SESSION_SIGNATURE_INVALID = 2915,
/**
+ * The response we received from the merchant is malformed. This error
+ * is generated client-side.
+ */
+ TALER_EC_CHECK_PAYMENT_RESPONSE_MALFORMED = 2916,
+
+ /**
* The signature from the exchange on the deposit confirmation is
* invalid. Returned with a "400 Bad Request" status code.
*/