aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-08 20:16:28 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-08 20:16:28 +0100
commitb123140349c3e3b300878d2e35cea1553c9a381d (patch)
treeb5260c64a34d0806be5a783544fa2564d8c23162
parenta7611c7124c5cdab642d31fa01d454549a4bc1a3 (diff)
downloadgana-b123140349c3e3b300878d2e35cea1553c9a381d.tar.gz
gana-b123140349c3e3b300878d2e35cea1553c9a381d.zip
-generic error codes
-rw-r--r--gnu-taler-error-codes/registry.rec38
1 files changed, 18 insertions, 20 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index 41c3665..c0b4368 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -267,6 +267,24 @@ Name: EXCHANGE_GENERIC_SECMOD_TIMEOUT
267Description: An operation where the exchange interacted with a security module timed out. 267Description: An operation where the exchange interacted with a security module timed out.
268HttpStatus: 500 268HttpStatus: 500
269 269
270Value: 1012
271Name: EXCHANGE_GENERIC_INSUFFICIENT_FUNDS
272Description: The respective coin did not have sufficient residual value for the operation. The "history" in this response provdes the "residual_value" of the coin, which may be less than its "original_value".
273HttpStatus: 409
274
275Value: 1013
276Name: EXCHANGE_GENERIC_COIN_HISTORY_COMPUTATION_FAILED
277Description: The exchange had an internal error reconstructing the transaction history of the coin that was being processed.
278HttpStatus: 500
279
280Value: 1014
281Name: EXCHANGE_GENERIC_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS
282Description: The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient funds errors.
283HttpStatus: 500
284
285
286
287
270Value: 1100 288Value: 1100
271Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND 289Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND
272Description: The exchange did not find information about the specified transaction in the database. 290Description: The exchange did not find information about the specified transaction in the database.
@@ -342,11 +360,6 @@ Name: EXCHANGE_WITHDRAW_UNBLIND_FAILURE
342Description: The client failed to unblind the blind signature. 360Description: The client failed to unblind the blind signature.
343HttpStatus: 0 361HttpStatus: 0
344 362
345Value: 1200
346Name: EXCHANGE_DEPOSIT_INSUFFICIENT_FUNDS
347Description: The respective coin did not have sufficient residual value for the /deposit operation (i.e. due to double spending). The "history" in the response provides the transaction history of the coin proving this fact.
348HttpStatus: 409
349
350Value: 1205 363Value: 1205
351Name: EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID 364Name: EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID
352Description: The signature made by the coin over the deposit permission is not valid. 365Description: The signature made by the coin over the deposit permission is not valid.
@@ -388,16 +401,6 @@ Name: EXCHANGE_RESERVES_GET_STATUS_UNKNOWN
388Description: The reserve status was requested using a unknown key. 401Description: The reserve status was requested using a unknown key.
389HttpStatus: 404 402HttpStatus: 404
390 403
391Value: 1300
392Name: EXCHANGE_MELT_INSUFFICIENT_FUNDS
393Description: The respective coin did not have sufficient residual value for the /refresh/melt operation. The "history" in this response provdes the "residual_value" of the coin, which may be less than its "original_value".
394HttpStatus: 409
395
396Value: 1301
397Name: EXCHANGE_MELT_COIN_HISTORY_COMPUTATION_FAILED
398Description: The exchange had an internal error reconstructing the transaction history of the coin that was being melted.
399HttpStatus: 500
400
401Value: 1302 404Value: 1302
402Name: EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION 405Name: EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION
403Description: The exchange encountered melt fees exceeding the melted coin's contribution. 406Description: The exchange encountered melt fees exceeding the melted coin's contribution.
@@ -408,11 +411,6 @@ Name: EXCHANGE_MELT_COIN_SIGNATURE_INVALID
408Description: The signature made with the coin to be melted is invalid. 411Description: The signature made with the coin to be melted is invalid.
409HttpStatus: 403 412HttpStatus: 403
410 413
411Value: 1304
412Name: EXCHANGE_MELT_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS
413Description: The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient funds errors.
414HttpStatus: 500
415
416Value: 1305 414Value: 1305
417Name: EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE 415Name: EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE
418Description: 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). 416Description: 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).