diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-08 20:16:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-08 20:16:28 +0100 |
commit | b123140349c3e3b300878d2e35cea1553c9a381d (patch) | |
tree | b5260c64a34d0806be5a783544fa2564d8c23162 | |
parent | a7611c7124c5cdab642d31fa01d454549a4bc1a3 (diff) | |
download | gana-b123140349c3e3b300878d2e35cea1553c9a381d.tar.gz gana-b123140349c3e3b300878d2e35cea1553c9a381d.zip |
-generic error codes
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 38 |
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 | |||
267 | Description: An operation where the exchange interacted with a security module timed out. | 267 | Description: An operation where the exchange interacted with a security module timed out. |
268 | HttpStatus: 500 | 268 | HttpStatus: 500 |
269 | 269 | ||
270 | Value: 1012 | ||
271 | Name: EXCHANGE_GENERIC_INSUFFICIENT_FUNDS | ||
272 | Description: 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". | ||
273 | HttpStatus: 409 | ||
274 | |||
275 | Value: 1013 | ||
276 | Name: EXCHANGE_GENERIC_COIN_HISTORY_COMPUTATION_FAILED | ||
277 | Description: The exchange had an internal error reconstructing the transaction history of the coin that was being processed. | ||
278 | HttpStatus: 500 | ||
279 | |||
280 | Value: 1014 | ||
281 | Name: EXCHANGE_GENERIC_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS | ||
282 | Description: The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient funds errors. | ||
283 | HttpStatus: 500 | ||
284 | |||
285 | |||
286 | |||
287 | |||
270 | Value: 1100 | 288 | Value: 1100 |
271 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND | 289 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND |
272 | Description: The exchange did not find information about the specified transaction in the database. | 290 | Description: The exchange did not find information about the specified transaction in the database. |
@@ -342,11 +360,6 @@ Name: EXCHANGE_WITHDRAW_UNBLIND_FAILURE | |||
342 | Description: The client failed to unblind the blind signature. | 360 | Description: The client failed to unblind the blind signature. |
343 | HttpStatus: 0 | 361 | HttpStatus: 0 |
344 | 362 | ||
345 | Value: 1200 | ||
346 | Name: EXCHANGE_DEPOSIT_INSUFFICIENT_FUNDS | ||
347 | Description: 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. | ||
348 | HttpStatus: 409 | ||
349 | |||
350 | Value: 1205 | 363 | Value: 1205 |
351 | Name: EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID | 364 | Name: EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID |
352 | Description: The signature made by the coin over the deposit permission is not valid. | 365 | Description: The signature made by the coin over the deposit permission is not valid. |
@@ -388,16 +401,6 @@ Name: EXCHANGE_RESERVES_GET_STATUS_UNKNOWN | |||
388 | Description: The reserve status was requested using a unknown key. | 401 | Description: The reserve status was requested using a unknown key. |
389 | HttpStatus: 404 | 402 | HttpStatus: 404 |
390 | 403 | ||
391 | Value: 1300 | ||
392 | Name: EXCHANGE_MELT_INSUFFICIENT_FUNDS | ||
393 | Description: 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". | ||
394 | HttpStatus: 409 | ||
395 | |||
396 | Value: 1301 | ||
397 | Name: EXCHANGE_MELT_COIN_HISTORY_COMPUTATION_FAILED | ||
398 | Description: The exchange had an internal error reconstructing the transaction history of the coin that was being melted. | ||
399 | HttpStatus: 500 | ||
400 | |||
401 | Value: 1302 | 404 | Value: 1302 |
402 | Name: EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION | 405 | Name: EXCHANGE_MELT_FEES_EXCEED_CONTRIBUTION |
403 | Description: The exchange encountered melt fees exceeding the melted coin's contribution. | 406 | Description: The exchange encountered melt fees exceeding the melted coin's contribution. |
@@ -408,11 +411,6 @@ Name: EXCHANGE_MELT_COIN_SIGNATURE_INVALID | |||
408 | Description: The signature made with the coin to be melted is invalid. | 411 | Description: The signature made with the coin to be melted is invalid. |
409 | HttpStatus: 403 | 412 | HttpStatus: 403 |
410 | 413 | ||
411 | Value: 1304 | ||
412 | Name: EXCHANGE_MELT_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS | ||
413 | Description: The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient funds errors. | ||
414 | HttpStatus: 500 | ||
415 | |||
416 | Value: 1305 | 414 | Value: 1305 |
417 | Name: EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE | 415 | Name: EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE |
418 | Description: 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). | 416 | Description: 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). |