diff options
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 70 |
1 files changed, 31 insertions, 39 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index b4b1bf1..9176cfa 100644 --- 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 | |||
630 | Description: The order we found does not match the provided contract hash. | 630 | Description: The order we found does not match the provided contract hash. |
631 | HttpStatus: 403 | 631 | HttpStatus: 403 |
632 | 632 | ||
633 | Value: 2010 | ||
634 | Name: MERCHANT_GENERIC_EXCHANGE_KEYS_FAILURE | ||
635 | Description: The exchange failed to provide a valid response to the merchant's /keys request. | ||
636 | HttpStatus: 502 | ||
637 | |||
638 | Value: 2011 | ||
639 | Name: MERCHANT_GENERIC_EXCHANGE_TIMEOUT | ||
640 | Description: The exchange failed to respond to the merchant on time. | ||
641 | HttpStatus: 504 | ||
642 | |||
643 | Value: 2012 | ||
644 | Name: MERCHANT_GENERIC_EXCHANGE_CONNECT_FAILURE | ||
645 | Description: The merchant failed to talk to the exchange. | ||
646 | HttpStatus: 500 | ||
647 | |||
648 | Value: 2013 | ||
649 | Name: MERCHANT_GENERIC_EXCHANGE_REPLY_MALFORMED | ||
650 | Description: The exchange returned a maformed response. | ||
651 | HttpStatus: 502 | ||
652 | |||
653 | Value: 2014 | ||
654 | Name: MERCHANT_GENERIC_EXCHANGE_UNEXPECTED_STATUS | ||
655 | Description: The exchange returned an unexpected response status. | ||
656 | HttpStatus: 502 | ||
657 | |||
658 | |||
633 | 659 | ||
634 | # 2100-2499: public API | 660 | # 2100-2499: public API |
635 | # 2100-2149: get orders endpoint | 661 | # 2100-2149: get orders endpoint |
@@ -639,15 +665,6 @@ Name: MERCHANT_GET_ORDERS_EXCHANGE_TRACKING_FAILURE | |||
639 | Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. | 665 | Description: The exchange failed to provide a valid answer to the tracking request, thus those details are not in the response. |
640 | HttpStatus: 200 | 666 | HttpStatus: 200 |
641 | 667 | ||
642 | Value: 2101 | ||
643 | Name: MERCHANT_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE | ||
644 | Description: The merchant backend encountered a failure in computing the deposit total. | ||
645 | HttpStatus: 200 | ||
646 | |||
647 | Value: 2102 | ||
648 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_LOOKUP_FAILURE | ||
649 | Description: The merchant backend failed trying to contact the exchange for tracking details, thus those details are not in the response. | ||
650 | HttpStatus: 502 | ||
651 | 668 | ||
652 | Value: 2103 | 669 | Value: 2103 |
653 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE | 670 | Name: MERCHANT_GET_ORDERS_ID_EXCHANGE_REQUEST_FAILURE |
@@ -716,10 +733,6 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_REFUND_DEADLINE_PAST_WIRE_TRANSFER_DEADLINE | |||
716 | Description: The refund deadline in the contract is after the transfer deadline. | 733 | Description: The refund deadline in the contract is after the transfer deadline. |
717 | HttpStatus: 500 | 734 | HttpStatus: 500 |
718 | 735 | ||
719 | Value: 2160 | ||
720 | Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_KEYS_FAILURE | ||
721 | Description: The exchange failed to provide a valid response to the merchant's /keys request. | ||
722 | HttpStatus: 502 | ||
723 | 736 | ||
724 | Value: 2161 | 737 | Value: 2161 |
725 | Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED | 738 | Name: MERCHANT_POST_ORDERS_ID_PAY_OFFER_EXPIRED |
@@ -736,11 +749,6 @@ Name: MERCHANT_POST_ORDERS_ID_PAY_WIRE_HASH_UNKNOWN | |||
736 | Description: Failed to locate merchant's account information matching the wire hash given in the proposal. | 749 | Description: Failed to locate merchant's account information matching the wire hash given in the proposal. |
737 | HttpStatus: 500 | 750 | HttpStatus: 500 |
738 | 751 | ||
739 | Value: 2164 | ||
740 | Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_HAS_NO_KEYS | ||
741 | Description: The exchange failed to give us a response when we asked for /keys. | ||
742 | HttpStatus: 502 | ||
743 | |||
744 | Value: 2165 | 752 | Value: 2165 |
745 | Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_DEPOSIT_EXPIRED | 753 | Name: MERCHANT_POST_ORDERS_ID_PAY_DENOMINATION_DEPOSIT_EXPIRED |
746 | Description: The deposit time for the denomination has expired. | 754 | Description: The deposit time for the denomination has expired. |
@@ -785,10 +793,6 @@ HttpStatus: 403 | |||
785 | 793 | ||
786 | # 2250-2299: post orders ID abort endpoint | 794 | # 2250-2299: post orders ID abort endpoint |
787 | 795 | ||
788 | Value: 2250 | ||
789 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_KEYS_FAILURE | ||
790 | Description: The merchant failed to contact the exchange. | ||
791 | HttpStatus: 502 | ||
792 | 796 | ||
793 | Value: 2251 | 797 | Value: 2251 |
794 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED | 798 | Name: MERCHANT_POST_ORDERS_ID_ABORT_EXCHANGE_REFUND_FAILED |
@@ -851,21 +855,14 @@ Name: MERCHANT_TIP_PICKUP_UNBLIND_FAILURE | |||
851 | Description: The client failed to unblind the signature returned by the merchant. | 855 | Description: The client failed to unblind the signature returned by the merchant. |
852 | HttpStatus: 0 | 856 | HttpStatus: 0 |
853 | 857 | ||
854 | Value: 2401 | ||
855 | Name: MERCHANT_TIP_PICKUP_CONTACT_EXCHANGE_ERROR | ||
856 | Description: The merchant failed to contact the exchange. | ||
857 | HttpStatus: 502 | ||
858 | 858 | ||
859 | Value: 2402 | ||
860 | Name: MERCHANT_TIP_PICKUP_EXCHANGE_KEYS_ERROR | ||
861 | Description: The merchant failed to obtain keys from the exchange. | ||
862 | HttpStatus: 502 | ||
863 | 859 | ||
864 | Value: 2403 | 860 | Value: 2403 |
865 | Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR | 861 | Name: MERCHANT_TIP_PICKUP_EXCHANGE_ERROR |
866 | Description: The exchange returned a failure code for the withdraw operation. | 862 | Description: The exchange returned a failure code for the withdraw operation. |
867 | HttpStatus: 502 | 863 | HttpStatus: 502 |
868 | 864 | ||
865 | |||
869 | Value: 2404 | 866 | Value: 2404 |
870 | Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED | 867 | Name: MERCHANT_TIP_PICKUP_SUMMATION_FAILED |
871 | Description: The merchant failed to add up the amounts to compute the pick up value. | 868 | Description: The merchant failed to add up the amounts to compute the pick up value. |
@@ -945,21 +942,12 @@ HttpStatus: 403 | |||
945 | 942 | ||
946 | # 2550-2599: transfer operations | 943 | # 2550-2599: transfer operations |
947 | 944 | ||
948 | Value: 2550 | ||
949 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_KEYS_FAILURE | ||
950 | Description: We failed to obtain an acceptable /keys response from the exchange for the /track/transfer request. | ||
951 | HttpStatus: 502 | ||
952 | 945 | ||
953 | Value: 2551 | 946 | Value: 2551 |
954 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_REQUEST_ERROR | 947 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_REQUEST_ERROR |
955 | Description: We internally failed to execute the /track/transfer request. | 948 | Description: We internally failed to execute the /track/transfer request. |
956 | HttpStatus: 500 | 949 | HttpStatus: 500 |
957 | 950 | ||
958 | Value: 2552 | ||
959 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_ERROR | ||
960 | Description: The exchange returned an error from /track/transfer. | ||
961 | HttpStatus: 502 | ||
962 | |||
963 | Value: 2553 | 951 | Value: 2553 |
964 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_REPORTS | 952 | Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_REPORTS |
965 | Description: The exchange gave conflicting information about a coin which has been wire transferred. | 953 | 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 | |||
1049 | Description: The backend failed to find a reserve needed to authorize the tip. | 1037 | Description: The backend failed to find a reserve needed to authorize the tip. |
1050 | HttpStatus: 503 | 1038 | HttpStatus: 503 |
1051 | 1039 | ||
1040 | Value: 2800 | ||
1041 | Name: MERCHANT_PRIVATE_GET_ORDERS_ID_AMOUNT_ARITHMETIC_FAILURE | ||
1042 | Description: The merchant backend encountered a failure in computing the deposit total. | ||
1043 | HttpStatus: 200 | ||
1052 | 1044 | ||
1053 | 1045 | ||
1054 | 1046 | ||