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