gana

GNUnet Assigned Numbers Authority
Log | Files | Refs | README | LICENSE

commit aef5dac1c9a1945c1605a92f552d8a184d09e3ed
parent df88a90691ac3258c75aea538b888a5977933da8
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  8 Nov 2020 23:26:02 +0100

Merge branch 'master' of git+ssh://git.gnunet.org/gana

Diffstat:
Mgnu-taler-error-codes/registry.rec | 70+++++++++++++++++++++++++++++++---------------------------------------
1 file changed, 31 insertions(+), 39 deletions(-)

diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec @@ -630,6 +630,32 @@ Name: MERCHANT_GENERIC_CONTRACT_HASH_DOES_NOT_MATCH_ORDER Description: The order we found does not match the provided contract hash. HttpStatus: 403 +Value: 2010 +Name: MERCHANT_GENERIC_EXCHANGE_KEYS_FAILURE +Description: The exchange failed to provide a valid response to the merchant's /keys request. +HttpStatus: 502 + +Value: 2011 +Name: MERCHANT_GENERIC_EXCHANGE_TIMEOUT +Description: The exchange failed to respond to the merchant on time. +HttpStatus: 504 + +Value: 2012 +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 # 2100-2149: get orders endpoint @@ -639,15 +665,6 @@ Name: MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. HttpStatus: 200 -Value: 2101 -Name: MERCHANT_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE -Description: The merchant backend encountered a failure in computing the deposit total. -HttpStatus: 200 - -Value: 2102 -Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_LOOKUP_FAILURE -Description: The merchant backend failed trying to contact the exchange for tracking details, thus those details are not in the response. -HttpStatus: 502 Value: 2103 Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE @@ -716,10 +733,6 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_REFUND_DEADLINE_PAST_WIRE_TRANSFER_DEADLINE Description: The refund deadline in the contract is after the transfer deadline. HttpStatus: 500 -Value: 2160 -Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_KEYS_FAILURE -Description: The exchange failed to provide a valid response to the merchant's /keys request. -HttpStatus: 502 Value: 2161 Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED @@ -736,11 +749,6 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_WIRE_HASH_UNKNOWN Description: Failed to locate merchant's account information matching the wire hash given in the proposal. HttpStatus: 500 -Value: 2164 -Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_HAS_NO_KEYS -Description: The exchange failed to give us a response when we asked for /keys. -HttpStatus: 502 - Value: 2165 Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_DEPOSIT_EXPIRED Description: The deposit time for the denomination has expired. @@ -785,10 +793,6 @@ HttpStatus: 403 # 2250-2299: post orders ID abort endpoint -Value: 2250 -Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_KEYS_FAILURE -Description: The merchant failed to contact the exchange. -HttpStatus: 502 Value: 2251 Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED @@ -851,21 +855,14 @@ Name: MERCHANT_TIP_PICKUP_UNBLIND_FAILURE Description: The client failed to unblind the signature returned by the merchant. HttpStatus: 0 -Value: 2401 -Name: MERCHANT_TIP_PICKUP_CONTACT_EXCHANGE_ERROR -Description: The merchant failed to contact the exchange. -HttpStatus: 502 -Value: 2402 -Name: MERCHANT_TIP_PICKUP_EXCHANGE_KEYS_ERROR -Description: The merchant failed to obtain keys from the exchange. -HttpStatus: 502 Value: 2403 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. @@ -945,21 +942,12 @@ HttpStatus: 403 # 2550-2599: transfer operations -Value: 2550 -Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_KEYS_FAILURE -Description: We failed to obtain an acceptable /keys response from the exchange for the /track/transfer request. -HttpStatus: 502 Value: 2551 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. @@ -1049,6 +1037,10 @@ Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND Description: The backend failed to find a reserve needed to authorize the tip. HttpStatus: 503 +Value: 2800 +Name: MERCHANT_PRIVATE_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE +Description: The merchant backend encountered a failure in computing the deposit total. +HttpStatus: 200