summaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/registry.rec
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-07 23:55:47 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-07 23:55:47 +0100
commit05da9c93fc7fff258e54a9413d11ea72a82fe03f (patch)
treeea9f1611e798accb15a91bd9f72159b199fc3911 /gnu-taler-error-codes/registry.rec
parent5bea253bc104d9de901278f0dabe5df09a48369b (diff)
introduce generic codes for common exchange failures
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r--gnu-taler-error-codes/registry.rec16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index fd0fb7f..c4b0c52 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -645,6 +645,16 @@ Name: MERCHANT_GENERIC_EXCHANGE_CONNECT_FAILURE
Description: The merchant failed to talk to the exchange.
HttpStatus: 500
+Value: 2013
+Name: MERCHANT_GENERIC_EXCHANGE_REPLY_MALFORMED
+Description: The exchange returned a maformed response.
+HttpStatus: 502
+
+Value: 2014
+Name: MERCHANT_GENERIC_EXCHANGE_UNEXPECTED_STATUS
+Description: The exchange returned an unexpected response status.
+HttpStatus: 502
+
# 2100-2499: public API
@@ -852,6 +862,7 @@ Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR
Description: The exchange returned a failure code for the withdraw operation.
HttpStatus: 502
+
Value: 2404
Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED
Description: The merchant failed to add up the amounts to compute the pick up value.
@@ -937,11 +948,6 @@ Name: MERCHANT_PRIVATE_POST_TRANSFERS_REQUEST_ERROR
Description: We internally failed to execute the /track/transfer request.
HttpStatus: 500
-Value: 2552
-Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_ERROR
-Description: The exchange returned an error from /track/transfer.
-HttpStatus: 502
-
Value: 2553
Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_REPORTS
Description: The exchange gave conflicting information about a coin which has been wire transferred.