aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes/registry.rec
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-26 12:06:38 +0100
committerChristian Grothoff <christian@grothoff.org>2020-10-26 12:06:38 +0100
commit67bf4ef1ef8e612d0df7064c7c5734e5ad1007c3 (patch)
tree3a0a343a98a7d1af404232e772d89688028a5b9c /gnu-taler-error-codes/registry.rec
parent73fc21753318933c614b4e20cb91a3d0fe681b0f (diff)
downloadgana-67bf4ef1ef8e612d0df7064c7c5734e5ad1007c3.tar.gz
gana-67bf4ef1ef8e612d0df7064c7c5734e5ad1007c3.zip
document status codes correctly (#6434)
Diffstat (limited to 'gnu-taler-error-codes/registry.rec')
-rw-r--r--gnu-taler-error-codes/registry.rec90
1 files changed, 45 insertions, 45 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index c6aa08c..f22285f 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -45,12 +45,12 @@ HttpStatus: 0
45Value: 4 45Value: 4
46Name: EXCHANGE_BAD_CONFIGURATION 46Name: EXCHANGE_BAD_CONFIGURATION
47Description: Exchange is badly configured and thus cannot operate. 47Description: Exchange is badly configured and thus cannot operate.
48HttpStatus: 0 48HttpStatus: 500
49 49
50Value: 5 50Value: 5
51Name: INTERNAL_INVARIANT_FAILURE 51Name: INTERNAL_INVARIANT_FAILURE
52Description: Internal assertion error. 52Description: Internal assertion error.
53HttpStatus: 0 53HttpStatus: 500
54 54
55Value: 6 55Value: 6
56Name: TIMEOUT 56Name: TIMEOUT
@@ -195,42 +195,42 @@ HttpStatus: 409
195Value: 1014 195Value: 1014
196Name: DB_COIN_HISTORY_STORE_ERROR 196Name: DB_COIN_HISTORY_STORE_ERROR
197Description: We failed to update the database of known coins. 197Description: We failed to update the database of known coins.
198HttpStatus: 0 198HttpStatus: 500
199 199
200Value: 1050 200Value: 1050
201Name: COINS_INVALID_COIN_PUB 201Name: COINS_INVALID_COIN_PUB
202Description: The public key of given to a /coins/ handler was malformed. 202Description: The public key of given to a /coins/ handler was malformed.
203HttpStatus: 0 203HttpStatus: 400
204 204
205Value: 1051 205Value: 1051
206Name: RESERVES_INVALID_RESERVE_PUB 206Name: RESERVES_INVALID_RESERVE_PUB
207Description: The reserve key of given to a /reserves/ handler was malformed. 207Description: The reserve key of given to a /reserves/ handler was malformed.
208HttpStatus: 0 208HttpStatus: 400
209 209
210Value: 1052 210Value: 1052
211Name: TRANSFERS_INVALID_WTID 211Name: TRANSFERS_INVALID_WTID
212Description: The public key of given to a /transfers/ handler was malformed. 212Description: The public key of given to a /transfers/ handler was malformed.
213HttpStatus: 0 213HttpStatus: 400
214 214
215Value: 1053 215Value: 1053
216Name: DEPOSITS_INVALID_H_WIRE 216Name: DEPOSITS_INVALID_H_WIRE
217Description: The wire hash of given to a /deposits/ handler was malformed. 217Description: The wire hash of given to a /deposits/ handler was malformed.
218HttpStatus: 0 218HttpStatus: 400
219 219
220Value: 1054 220Value: 1054
221Name: DEPOSITS_INVALID_MERCHANT_PUB 221Name: DEPOSITS_INVALID_MERCHANT_PUB
222Description: The merchant key of given to a /deposits/ handler was malformed. 222Description: The merchant key of given to a /deposits/ handler was malformed.
223HttpStatus: 0 223HttpStatus: 400
224 224
225Value: 1055 225Value: 1055
226Name: DEPOSITS_INVALID_H_CONTRACT_TERMS 226Name: DEPOSITS_INVALID_H_CONTRACT_TERMS
227Description: The hash of the contract terms given to a /deposits/ handler was malformed. 227Description: The hash of the contract terms given to a /deposits/ handler was malformed.
228HttpStatus: 0 228HttpStatus: 400
229 229
230Value: 1056 230Value: 1056
231Name: DEPOSITS_INVALID_COIN_PUB 231Name: DEPOSITS_INVALID_COIN_PUB
232Description: The coin public key of given to a /deposits/ handler was malformed. 232Description: The coin public key of given to a /deposits/ handler was malformed.
233HttpStatus: 0 233HttpStatus: 400
234 234
235Value: 1057 235Value: 1057
236Name: DEPOSITS_INVALID_BODY_BY_EXCHANGE 236Name: DEPOSITS_INVALID_BODY_BY_EXCHANGE
@@ -300,7 +300,7 @@ HttpStatus: 404
300Value: 1111 300Value: 1111
301Name: WITHDRAW_RESERVE_SIGNATURE_INVALID 301Name: WITHDRAW_RESERVE_SIGNATURE_INVALID
302Description: The signature of the reserve is not valid. 302Description: The signature of the reserve is not valid.
303HttpStatus: 400 303HttpStatus: 403
304 304
305Value: 1112 305Value: 1112
306Name: WITHDRAW_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS 306Name: WITHDRAW_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS
@@ -349,8 +349,8 @@ HttpStatus: 500
349 349
350Value: 1151 350Value: 1151
351Name: RESERVE_STATUS_UNKNOWN 351Name: RESERVE_STATUS_UNKNOWN
352Description: The reserve status was requested using a unknown key, to be returned with 404 Not Found. 352Description: The reserve status was requested using a unknown key.
353HttpStatus: 0 353HttpStatus: 404.
354 354
355Value: 1152 355Value: 1152
356Name: RESERVE_STATUS_REPLY_MALFORMED 356Name: RESERVE_STATUS_REPLY_MALFORMED
@@ -385,12 +385,12 @@ HttpStatus: 404
385Value: 1205 385Value: 1205
386Name: DEPOSIT_COIN_SIGNATURE_INVALID 386Name: DEPOSIT_COIN_SIGNATURE_INVALID
387Description: The signature made by the coin over the deposit permission is not valid. 387Description: The signature made by the coin over the deposit permission is not valid.
388HttpStatus: 400 388HttpStatus: 403
389 389
390Value: 1206 390Value: 1206
391Name: DEPOSIT_DENOMINATION_SIGNATURE_INVALID 391Name: DEPOSIT_DENOMINATION_SIGNATURE_INVALID
392Description: The signature of the denomination key over the coin is not valid. 392Description: The signature of the denomination key over the coin is not valid.
393HttpStatus: 400 393HttpStatus: 403
394 394
395Value: 1207 395Value: 1207
396Name: DEPOSIT_NEGATIVE_VALUE_AFTER_FEE 396Name: DEPOSIT_NEGATIVE_VALUE_AFTER_FEE
@@ -445,7 +445,7 @@ HttpStatus: 0
445Value: 1222 445Value: 1222
446Name: DEPOSIT_CURRENCY_MISMATCH 446Name: DEPOSIT_CURRENCY_MISMATCH
447Description: The currency specified for the deposit is different from the currency of the coin. 447Description: The currency specified for the deposit is different from the currency of the coin.
448HttpStatus: 412 448HttpStatus: 400
449 449
450Value: 1300 450Value: 1300
451Name: MELT_INSUFFICIENT_FUNDS 451Name: MELT_INSUFFICIENT_FUNDS
@@ -480,12 +480,12 @@ HttpStatus: 400
480Value: 1306 480Value: 1306
481Name: MELT_DENOMINATION_SIGNATURE_INVALID 481Name: MELT_DENOMINATION_SIGNATURE_INVALID
482Description: The denomination key signature on the melted coin is invalid. 482Description: The denomination key signature on the melted coin is invalid.
483HttpStatus: 400 483HttpStatus: 403
484 484
485Value: 1307 485Value: 1307
486Name: MELT_COIN_SIGNATURE_INVALID 486Name: MELT_COIN_SIGNATURE_INVALID
487Description: The signature made with the coin to be melted is invalid. 487Description: The signature made with the coin to be melted is invalid.
488HttpStatus: 400 488HttpStatus: 403
489 489
490Value: 1308 490Value: 1308
491Name: MELT_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS 491Name: MELT_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS
@@ -495,7 +495,7 @@ HttpStatus: 500
495Value: 1309 495Value: 1309
496Name: MELT_COIN_EXPIRED_NO_ZOMBIE 496Name: MELT_COIN_EXPIRED_NO_ZOMBIE
497Description: The denomination of the given coin has past its expiration date and it is also not a valid zombie (that is, was not refreshed with the fresh coin being subjected to recoup). 497Description: The denomination of the given coin has past its expiration date and it is also not a valid zombie (that is, was not refreshed with the fresh coin being subjected to recoup).
498HttpStatus: 0 498HttpStatus: 400
499 499
500Value: 1310 500Value: 1310
501Name: MELT_INVALID_SIGNATURE_BY_EXCHANGE 501Name: MELT_INVALID_SIGNATURE_BY_EXCHANGE
@@ -505,7 +505,7 @@ HttpStatus: 0
505Value: 1311 505Value: 1311
506Name: MELT_CURRENCY_MISMATCH 506Name: MELT_CURRENCY_MISMATCH
507Description: The currency specified for the melt amount is different from the currency of the coin. 507Description: The currency specified for the melt amount is different from the currency of the coin.
508HttpStatus: 412 508HttpStatus: 400
509 509
510Value: 1351 510Value: 1351
511Name: REFRESH_RECOUP_DENOMINATION_KEY_NOT_FOUND 511Name: REFRESH_RECOUP_DENOMINATION_KEY_NOT_FOUND
@@ -540,7 +540,7 @@ HttpStatus: 500
540Value: 1372 540Value: 1372
541Name: REVEAL_SESSION_UNKNOWN 541Name: REVEAL_SESSION_UNKNOWN
542Description: The exchange is unaware of the refresh session specified in the request. 542Description: The exchange is unaware of the refresh session specified in the request.
543HttpStatus: 400 543HttpStatus: 404
544 544
545Value: 1373 545Value: 1373
546Name: REVEAL_DB_FETCH_SESSION_ERROR 546Name: REVEAL_DB_FETCH_SESSION_ERROR
@@ -590,7 +590,7 @@ HttpStatus: 400
590Value: 1382 590Value: 1382
591Name: REVEAL_LINK_SIGNATURE_INVALID 591Name: REVEAL_LINK_SIGNATURE_INVALID
592Description: The signature made with the coin over the link data is invalid. 592Description: The signature made with the coin over the link data is invalid.
593HttpStatus: 400 593HttpStatus: 403
594 594
595Value: 1383 595Value: 1383
596Name: REVEAL_KEYS_MISSING 596Name: REVEAL_KEYS_MISSING
@@ -600,7 +600,7 @@ HttpStatus: 500
600Value: 1384 600Value: 1384
601Name: REVEAL_INVALID_RCH 601Name: REVEAL_INVALID_RCH
602Description: The refresh session hash given to a /refreshes/ handler was malformed. 602Description: The refresh session hash given to a /refreshes/ handler was malformed.
603HttpStatus: 0 603HttpStatus: 400
604 604
605Value: 1385 605Value: 1385
606Name: REVEAL_REPLY_MALFORMED 606Name: REVEAL_REPLY_MALFORMED
@@ -685,7 +685,7 @@ HttpStatus: 400
685Value: 1513 685Value: 1513
686Name: REFUND_MERCHANT_SIGNATURE_INVALID 686Name: REFUND_MERCHANT_SIGNATURE_INVALID
687Description: The signature of the merchant is invalid. 687Description: The signature of the merchant is invalid.
688HttpStatus: 400 688HttpStatus: 403
689 689
690Value: 1514 690Value: 1514
691Name: REFUND_MERCHANT_SIGNING_FAILED 691Name: REFUND_MERCHANT_SIGNING_FAILED
@@ -775,7 +775,7 @@ HttpStatus: 500
775Value: 1804 775Value: 1804
776Name: DEPOSITS_GET_MERCHANT_SIGNATURE_INVALID 776Name: DEPOSITS_GET_MERCHANT_SIGNATURE_INVALID
777Description: The signature of the merchant is invalid. 777Description: The signature of the merchant is invalid.
778HttpStatus: 400 778HttpStatus: 403
779 779
780Value: 1850 780Value: 1850
781Name: RECOUP_DENOMINATION_KEY_UNKNOWN 781Name: RECOUP_DENOMINATION_KEY_UNKNOWN
@@ -790,7 +790,7 @@ HttpStatus: 403
790Value: 1852 790Value: 1852
791Name: RECOUP_DENOMINATION_SIGNATURE_INVALID 791Name: RECOUP_DENOMINATION_SIGNATURE_INVALID
792Description: The signature of the denomination key over the coin is not valid. 792Description: The signature of the denomination key over the coin is not valid.
793HttpStatus: 400 793HttpStatus: 403
794 794
795Value: 1853 795Value: 1853
796Name: RECOUP_DB_FETCH_FAILED 796Name: RECOUP_DB_FETCH_FAILED
@@ -864,8 +864,8 @@ HttpStatus: 404
864 864
865Value: 2002 865Value: 2002
866Name: PROPOSAL_INSTANCE_CONFIGURATION_LACKS_WIRE 866Name: PROPOSAL_INSTANCE_CONFIGURATION_LACKS_WIRE
867Description: The backend lacks a wire transfer method configuration option for the given instance. 867Description: The backend lacks a wire transfer method configuration option for the given instance. Thus, this instance is unavailable (not findable for creating new orders).
868HttpStatus: 0 868HttpStatus: 404
869 869
870Value: 2003 870Value: 2003
871Name: MERCHANT_FAILED_TO_LOAD_TEMPLATE 871Name: MERCHANT_FAILED_TO_LOAD_TEMPLATE
@@ -920,12 +920,12 @@ HttpStatus: 400
920Value: 2108 920Value: 2108
921Name: PAY_PAYMENT_INSUFFICIENT_DUE_TO_FEES 921Name: PAY_PAYMENT_INSUFFICIENT_DUE_TO_FEES
922Description: After considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. The client should revisit the logic used to calculate fees it must cover. 922Description: After considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. The client should revisit the logic used to calculate fees it must cover.
923HttpStatus: 202 923HttpStatus: 406
924 924
925Value: 2109 925Value: 2109
926Name: PAY_PAYMENT_INSUFFICIENT 926Name: PAY_PAYMENT_INSUFFICIENT
927Description: Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract. 927Description: Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract.
928HttpStatus: 202 928HttpStatus: 406
929 929
930Value: 2110 930Value: 2110
931Name: PAY_COIN_SIGNATURE_INVALID 931Name: PAY_COIN_SIGNATURE_INVALID
@@ -979,8 +979,8 @@ HttpStatus: 410
979 979
980Value: 2122 980Value: 2122
981Name: PAY_MERCHANT_FIELD_MISSING 981Name: PAY_MERCHANT_FIELD_MISSING
982Description: The "merchant" field is missing in the proposal data. 982Description: The "merchant" field is missing in the proposal data. This is an internal error as the proposal is from the merchant's own database at this point.
983HttpStatus: 400 983HttpStatus: 500
984 984
985Value: 2123 985Value: 2123
986Name: PAY_FAILED_COMPUTE_PROPOSAL_HASH 986Name: PAY_FAILED_COMPUTE_PROPOSAL_HASH
@@ -1287,6 +1287,11 @@ Name: POST_TRANSFERS_DB_LOOKUP_ERROR
1287Description: We did failed to retrieve information from our database. 1287Description: We did failed to retrieve information from our database.
1288HttpStatus: 500 1288HttpStatus: 500
1289 1289
1290Value: 2448
1291Name: PATCH_INSTANCES_BAD_CURRENCY
1292Description: The merchant backend cannot modify an instance with the given default max deposit fee or default max wire fee because the fee currencies are incompatible with the merchant's currency in the config.
1293HttpStatus: 409
1294
1290Value: 2449 1295Value: 2449
1291Name: POST_INSTANCES_BAD_CURRENCY 1296Name: POST_INSTANCES_BAD_CURRENCY
1292Description: The merchant backend cannot create an instance with the given default max deposit fee or default max wire fee because the fee currencies are incompatible with the merchant's currency in the config. 1297Description: The merchant backend cannot create an instance with the given default max deposit fee or default max wire fee because the fee currencies are incompatible with the merchant's currency in the config.
@@ -1505,7 +1510,7 @@ HttpStatus: 409
1505Value: 2560 1510Value: 2560
1506Name: PRODUCTS_LOCK_INSUFFICIENT_STOCKS 1511Name: PRODUCTS_LOCK_INSUFFICIENT_STOCKS
1507Description: The lock request is for more products than we have left (unlocked) in stock. 1512Description: The lock request is for more products than we have left (unlocked) in stock.
1508HttpStatus: 409 1513HttpStatus: 410
1509 1514
1510Value: 2561 1515Value: 2561
1511Name: PRODUCTS_LOCK_UNKNOWN_PRODUCT 1516Name: PRODUCTS_LOCK_UNKNOWN_PRODUCT
@@ -1555,7 +1560,7 @@ HttpStatus: 500
1555Value: 2605 1560Value: 2605
1556Name: PAY_DB_STORE_PAYMENTS_ERROR 1561Name: PAY_DB_STORE_PAYMENTS_ERROR
1557Description: Payments are stored in a single db transaction; this error indicates that one db operation within that transaction failed. This might involve storing of coins or other related db operations, like starting/committing the db transaction or marking a contract as paid. 1562Description: Payments are stored in a single db transaction; this error indicates that one db operation within that transaction failed. This might involve storing of coins or other related db operations, like starting/committing the db transaction or marking a contract as paid.
1558HttpStatus: 0 1563HttpStatus: 500
1559 1564
1560Value: 2606 1565Value: 2606
1561Name: PAY_REFUND_SIGNATURE_FAILED 1566Name: PAY_REFUND_SIGNATURE_FAILED
@@ -1760,12 +1765,12 @@ HttpStatus: 0
1760Value: 2802 1765Value: 2802
1761Name: TIP_PICKUP_DB_ERROR_SOFT 1766Name: TIP_PICKUP_DB_ERROR_SOFT
1762Description: We encountered a DB error, repeating the request may work. 1767Description: We encountered a DB error, repeating the request may work.
1763HttpStatus: 0 1768HttpStatus: 500
1764 1769
1765Value: 2803 1770Value: 2803
1766Name: TIP_PICKUP_DB_ERROR_HARD 1771Name: TIP_PICKUP_DB_ERROR_HARD
1767Description: We encountered a DB error, repeating the request will not help. This is an internal server error. 1772Description: We encountered a DB error, repeating the request will not help. This is an internal server error.
1768HttpStatus: 0 1773HttpStatus: 500
1769 1774
1770Value: 2804 1775Value: 2804
1771Name: TIP_PICKUP_AMOUNT_CHANGED 1776Name: TIP_PICKUP_AMOUNT_CHANGED
@@ -1962,11 +1967,6 @@ Name: CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH
1962Description: Failed computing a hash code (likely server out-of-memory). 1967Description: Failed computing a hash code (likely server out-of-memory).
1963HttpStatus: 500 1968HttpStatus: 500
1964 1969
1965Value: 2918
1966Name: CHECK_PAYMENT_SESSION_SIGNATURE_INVALID
1967Description: Signature "session_sig" failed to verify.
1968HttpStatus: 400
1969
1970Value: 2919 1970Value: 2919
1971Name: GET_ORDER_WRONG_CONTRACT 1971Name: GET_ORDER_WRONG_CONTRACT
1972Description: The order we found does not match the provided contract hash. 1972Description: The order we found does not match the provided contract hash.
@@ -2020,8 +2020,8 @@ HttpStatus: 500
2020 2020
2021Value: 3000 2021Value: 3000
2022Name: DEPOSIT_CONFIRMATION_SIGNATURE_INVALID 2022Name: DEPOSIT_CONFIRMATION_SIGNATURE_INVALID
2023Description: The signature from the exchange on the deposit confirmation is invalid. Returned with a "400 Bad Request" status code. 2023Description: The signature from the exchange on the deposit confirmation is invalid.
2024HttpStatus: 0 2024HttpStatus: 403
2025 2025
2026Value: 3001 2026Value: 3001
2027Name: DEPOSIT_CONFIRMATION_STORE_DB_ERROR 2027Name: DEPOSIT_CONFIRMATION_STORE_DB_ERROR
@@ -2156,7 +2156,7 @@ HttpStatus: 0
2156Value: 5500 2156Value: 5500
2157Name: BANK_TRANSFER_REQUEST_UID_REUSED 2157Name: BANK_TRANSFER_REQUEST_UID_REUSED
2158Description: The request UID for a request to transfer funds has already been used, but with different details for the transfer. 2158Description: The request UID for a request to transfer funds has already been used, but with different details for the transfer.
2159HttpStatus: 0 2159HttpStatus: 409
2160 2160
2161Value: 5600 2161Value: 5600
2162Name: BANK_WITHDRAWAL_OPERATION_RESERVE_SELECTION_CONFLICT 2162Name: BANK_WITHDRAWAL_OPERATION_RESERVE_SELECTION_CONFLICT
@@ -2200,7 +2200,7 @@ HttpStatus: 403
2200 2200
2201Value: 6008 2201Value: 6008
2202Name: SYNC_MALFORMED_CONTENT_LENGTH 2202Name: SYNC_MALFORMED_CONTENT_LENGTH
2203Description: The "Content-length" field for the upload is either not a number, or too big. 2203Description: The "Content-length" field for the upload is not a number.
2204HttpStatus: 400 2204HttpStatus: 400
2205 2205
2206Value: 6009 2206Value: 6009