aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/registry.rec
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-07 17:19:21 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-07 17:19:21 +0100
commit9a2a81bee221d6275e39bc602620fddcfa7706ba (patch)
tree05ef60dea0d93cab6ad620a1110b84c7204dc4b8 /gnu-taler-error-codes/registry.rec
parent3874af921cf57a4460e94409b67d81addfe3f1cb (diff)
downloadgana-9a2a81bee221d6275e39bc602620fddcfa7706ba.tar.gz
gana-9a2a81bee221d6275e39bc602620fddcfa7706ba.zip
use 502 instead of 424
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r--gnu-taler-error-codes/registry.rec52
1 files changed, 26 insertions, 26 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index 0e3fadd..bf0bc97 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -656,7 +656,7 @@ HttpStatus: 200
656Value: 2102 656Value: 2102
657Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_LOOKUP_FAILURE 657Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_LOOKUP_FAILURE
658Description: The merchant backend failed trying to contact the exchange for tracking details, thus those details are not in the response. 658Description: The merchant backend failed trying to contact the exchange for tracking details, thus those details are not in the response.
659HttpStatus: 424 659HttpStatus: 502
660 660
661Value: 2103 661Value: 2103
662Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE 662Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE
@@ -728,7 +728,7 @@ HttpStatus: 500
728Value: 2160 728Value: 2160
729Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_KEYS_FAILURE 729Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_KEYS_FAILURE
730Description: The exchange failed to provide a valid response to the merchant's /keys request. 730Description: The exchange failed to provide a valid response to the merchant's /keys request.
731HttpStatus: 424 731HttpStatus: 502
732 732
733Value: 2161 733Value: 2161
734Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED 734Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED
@@ -748,7 +748,7 @@ HttpStatus: 500
748Value: 2164 748Value: 2164
749Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_HAS_NO_KEYS 749Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_HAS_NO_KEYS
750Description: The exchange failed to give us a response when we asked for /keys. 750Description: The exchange failed to give us a response when we asked for /keys.
751HttpStatus: 424 751HttpStatus: 502
752 752
753Value: 2165 753Value: 2165
754Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_DEPOSIT_EXPIRED 754Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_DEPOSIT_EXPIRED
@@ -778,7 +778,7 @@ HttpStatus: 0
778Value: 2170 778Value: 2170
779Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_FAILED 779Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_FAILED
780Description: The payment failed at the exchange. 780Description: The payment failed at the exchange.
781HttpStatus: 424 781HttpStatus: 502
782 782
783# 2200-2249: post orders ID paid endpoint 783# 2200-2249: post orders ID paid endpoint
784 784
@@ -787,7 +787,7 @@ Name: MERCHANT_POST_ORDERS_ID_PAID_CONTRACT_HASH_MISMATCH
787Description: The contract hash does not match the given order ID. 787Description: The contract hash does not match the given order ID.
788HttpStatus: 409 788HttpStatus: 409
789 789
790Value: 2200 790Value: 2201
791Name: MERCHANT_POST_ORDERS_ID_PAID_COIN_SIGNATURE_INVALID 791Name: MERCHANT_POST_ORDERS_ID_PAID_COIN_SIGNATURE_INVALID
792Description: The signature of the merchant is not valid for the given contract hash. 792Description: The signature of the merchant is not valid for the given contract hash.
793HttpStatus: 403 793HttpStatus: 403
@@ -797,7 +797,7 @@ HttpStatus: 403
797Value: 2250 797Value: 2250
798Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_KEYS_FAILURE 798Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_KEYS_FAILURE
799Description: The merchant failed to contact the exchange. 799Description: The merchant failed to contact the exchange.
800HttpStatus: 424 800HttpStatus: 502
801 801
802Value: 2251 802Value: 2251
803Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED 803Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED
@@ -863,17 +863,17 @@ HttpStatus: 0
863Value: 2401 863Value: 2401
864Name: MERCHANT_TIP_PICKUP_CONTACT_EXCHANGE_ERROR 864Name: MERCHANT_TIP_PICKUP_CONTACT_EXCHANGE_ERROR
865Description: The merchant failed to contact the exchange. 865Description: The merchant failed to contact the exchange.
866HttpStatus: 424 866HttpStatus: 502
867 867
868Value: 2402 868Value: 2402
869Name: MERCHANT_TIP_PICKUP_EXCHANGE_KEYS_ERROR 869Name: MERCHANT_TIP_PICKUP_EXCHANGE_KEYS_ERROR
870Description: The merchant failed to obtain keys from the exchange. 870Description: The merchant failed to obtain keys from the exchange.
871HttpStatus: 424 871HttpStatus: 502
872 872
873Value: 2403 873Value: 2403
874Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR 874Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR
875Description: The exchange returned a failure code for the withdraw operation. 875Description: The exchange returned a failure code for the withdraw operation.
876HttpStatus: 424 876HttpStatus: 502
877 877
878Value: 2404 878Value: 2404
879Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED 879Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED
@@ -957,7 +957,7 @@ HttpStatus: 403
957Value: 2550 957Value: 2550
958Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_KEYS_FAILURE 958Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_KEYS_FAILURE
959Description: We failed to obtain an acceptable /keys response from the exchange for the /track/transfer request. 959Description: We failed to obtain an acceptable /keys response from the exchange for the /track/transfer request.
960HttpStatus: 424 960HttpStatus: 502
961 961
962Value: 2551 962Value: 2551
963Name: MERCHANT_PRIVATE_POST_TRANSFERS_REQUEST_ERROR 963Name: MERCHANT_PRIVATE_POST_TRANSFERS_REQUEST_ERROR
@@ -967,17 +967,17 @@ HttpStatus: 500
967Value: 2552 967Value: 2552
968Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_ERROR 968Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_ERROR
969Description: The exchange returned an error from /track/transfer. 969Description: The exchange returned an error from /track/transfer.
970HttpStatus: 424 970HttpStatus: 502
971 971
972Value: 2553 972Value: 2553
973Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_REPORTS 973Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_REPORTS
974Description: The exchange gave conflicting information about a coin which has been wire transferred. 974Description: The exchange gave conflicting information about a coin which has been wire transferred.
975HttpStatus: 424 975HttpStatus: 409
976 976
977Value: 2554 977Value: 2554
978Name: MERCHANT_PRIVATE_POST_TRANSFERS_BAD_WIRE_FEE 978Name: MERCHANT_PRIVATE_POST_TRANSFERS_BAD_WIRE_FEE
979Description: The exchange charged a different wire fee than what it originally advertised, and it is higher. 979Description: The exchange charged a different wire fee than what it originally advertised, and it is higher.
980HttpStatus: 424 980HttpStatus: 502
981 981
982Value: 2555 982Value: 2555
983Name: MERCHANT_PRIVATE_POST_TRANSFERS_ACCOUNT_NOT_FOUND 983Name: MERCHANT_PRIVATE_POST_TRANSFERS_ACCOUNT_NOT_FOUND
@@ -1004,61 +1004,61 @@ Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_LOST_REDUCED
1004Description: The update would have reduced the total amount of product lost, which is not allowed. 1004Description: The update would have reduced the total amount of product lost, which is not allowed.
1005HttpStatus: 409 1005HttpStatus: 409
1006 1006
1007Value: 2561 1007Value: 2661
1008Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_LOST_EXCEEDS_STOCKS 1008Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_LOST_EXCEEDS_STOCKS
1009Description: The update would have mean that more stocks were lost than what remains from total inventory after sales, which is not allowed. 1009Description: The update would have mean that more stocks were lost than what remains from total inventory after sales, which is not allowed.
1010HttpStatus: 409 1010HttpStatus: 409
1011 1011
1012Value: 2562 1012Value: 2662
1013Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_STOCKED_REDUCED 1013Name: MERCHANT_PRIVATE_PATCH_PRODUCTS_TOTAL_STOCKED_REDUCED
1014Description: The update would have reduced the total amount of product in stock, which is not allowed. 1014Description: The update would have reduced the total amount of product in stock, which is not allowed.
1015HttpStatus: 409 1015HttpStatus: 409
1016 1016
1017Value: 2570 1017Value: 2670
1018Name: MERCHANT_PRIVATE_POST_PRODUCTS_LOCK_INSUFFICIENT_STOCKS 1018Name: MERCHANT_PRIVATE_POST_PRODUCTS_LOCK_INSUFFICIENT_STOCKS
1019Description: The lock request is for more products than we have left (unlocked) in stock. 1019Description: The lock request is for more products than we have left (unlocked) in stock.
1020HttpStatus: 410 1020HttpStatus: 410
1021 1021
1022Value: 2580 1022Value: 2680
1023Name: MERCHANT_PRIVATE_DELETE_PRODUCTS_CONFLICTING_LOCK 1023Name: MERCHANT_PRIVATE_DELETE_PRODUCTS_CONFLICTING_LOCK
1024Description: The deletion request is for a product that is locked. 1024Description: The deletion request is for a product that is locked.
1025HttpStatus: 409 1025HttpStatus: 409
1026 1026
1027# 2600-2549: reserve operations 1027# 2700-2749: reserve operations
1028 1028
1029Value: 2600 1029Value: 2700
1030Name: MERCHANT_PRIVATE_POST_RESERVES_UNSUPPORTED_WIRE_METHOD 1030Name: MERCHANT_PRIVATE_POST_RESERVES_UNSUPPORTED_WIRE_METHOD
1031Description: The requested wire method is not supported by the exchange. 1031Description: The requested wire method is not supported by the exchange.
1032HttpStatus: 409 1032HttpStatus: 409
1033 1033
1034Value: 2610 1034Value: 2710
1035Name: MERCHANT_PRIVATE_DELETE_RESERVES_NO_SUCH_RESERVE 1035Name: MERCHANT_PRIVATE_DELETE_RESERVES_NO_SUCH_RESERVE
1036Description: The reserve could not be deleted because it is unknown. 1036Description: The reserve could not be deleted because it is unknown.
1037HttpStatus: 404 1037HttpStatus: 404
1038 1038
1039# 2650-2699: tip authorization 1039# 2750-2799: tip authorization
1040 1040
1041Value: 2650 1041Value: 2750
1042Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_EXPIRED 1042Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_EXPIRED
1043Description: The reserve that was used to fund the tips has expired. 1043Description: The reserve that was used to fund the tips has expired.
1044HttpStatus: 410 1044HttpStatus: 410
1045 1045
1046Value: 2651 1046Value: 2751
1047Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_UNKNOWN 1047Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_UNKNOWN
1048Description: The reserve that was used to fund the tips was not found in the DB. 1048Description: The reserve that was used to fund the tips was not found in the DB.
1049HttpStatus: 503 1049HttpStatus: 503
1050 1050
1051Value: 2652 1051Value: 2752
1052Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_INSUFFICIENT_FUNDS 1052Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_INSUFFICIENT_FUNDS
1053Description: The backend knows the instance that was supposed to support the tip, and it was configured for tipping. However, the funds remaining are insufficient to cover the tip, and the merchant should top up the reserve. 1053Description: The backend knows the instance that was supposed to support the tip, and it was configured for tipping. However, the funds remaining are insufficient to cover the tip, and the merchant should top up the reserve.
1054HttpStatus: 0 1054HttpStatus: 0
1055 1055
1056Value: 2653 1056Value: 2753
1057Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND 1057Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND
1058Description: The backend failed to find a reserve needed to authorize the tip. 1058Description: The backend failed to find a reserve needed to authorize the tip.
1059HttpStatus: 503 1059HttpStatus: 503
1060 1060
1061Value: 2654 1061Value: 2754
1062Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_EXPIRED 1062Name: MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_EXPIRED
1063Description: The selected exchange expired. 1063Description: The selected exchange expired.
1064HttpStatus: 410 1064HttpStatus: 410