diff options
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r-- | src/include/taler_error_codes.h | 76 |
1 files changed, 75 insertions, 1 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 4962d5fe5..57dbd2db9 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h | |||
@@ -298,6 +298,29 @@ enum TALER_ErrorCode | |||
298 | TALER_EC_WITHDRAW_RESERVE_HISTORY_IMPOSSIBLE = 1113, | 298 | TALER_EC_WITHDRAW_RESERVE_HISTORY_IMPOSSIBLE = 1113, |
299 | 299 | ||
300 | /** | 300 | /** |
301 | * Validity period of the coin to be withdrawn | ||
302 | * is in the future. Returned with an HTTP | ||
303 | * status of #MHD_HTTP_PRECONDITION_FAILED. | ||
304 | */ | ||
305 | TALER_EC_WITHDRAW_VALIDITY_IN_FUTURE = 1114, | ||
306 | |||
307 | /** | ||
308 | * Withdraw period of the coin to be withdrawn | ||
309 | * is in the past. Returned with an HTTP | ||
310 | * status of #MHD_HTTP_GONE. | ||
311 | */ | ||
312 | TALER_EC_WITHDRAW_VALIDITY_IN_PAST = 1115, | ||
313 | |||
314 | /** | ||
315 | * The private key associated with the denomination | ||
316 | * key is unknown to the server, possibly because | ||
317 | * the key was revoked. Returned with an HTTP | ||
318 | * status of #MHD_HTTP_SERVICE_UNAVAILABLE. | ||
319 | */ | ||
320 | TALER_EC_DENOMINATION_KEY_LOST = 1116, | ||
321 | |||
322 | |||
323 | /** | ||
301 | * The exchange failed to obtain the transaction history of the | 324 | * The exchange failed to obtain the transaction history of the |
302 | * given reserve from the database. | 325 | * given reserve from the database. |
303 | * This response is provided with HTTP status code | 326 | * This response is provided with HTTP status code |
@@ -453,6 +476,20 @@ enum TALER_ErrorCode | |||
453 | */ | 476 | */ |
454 | TALER_EC_DEPOSIT_INVALID_TIMESTAMP = 1218, | 477 | TALER_EC_DEPOSIT_INVALID_TIMESTAMP = 1218, |
455 | 478 | ||
479 | /** | ||
480 | * Validity period of the denomination key | ||
481 | * is in the future. Returned with an HTTP | ||
482 | * status of #MHD_HTTP_PRECONDITION_FAILED. | ||
483 | */ | ||
484 | TALER_EC_DEPOSIT_DENOMINATION_VALIDITY_IN_FUTURE = 1219, | ||
485 | |||
486 | /** | ||
487 | * Denomination key of the coin is past the | ||
488 | * deposit deadline. Returned with an HTTP | ||
489 | * status of #MHD_HTTP_GONE. | ||
490 | */ | ||
491 | TALER_EC_DEPOSIT_DENOMINATION_EXPIRED = 1220, | ||
492 | |||
456 | 493 | ||
457 | /** | 494 | /** |
458 | * The respective coin did not have sufficient residual value | 495 | * The respective coin did not have sufficient residual value |
@@ -532,6 +569,35 @@ enum TALER_ErrorCode | |||
532 | TALER_EC_REFRESH_MELT_COIN_EXPIRED_NO_ZOMBIE = 1309, | 569 | TALER_EC_REFRESH_MELT_COIN_EXPIRED_NO_ZOMBIE = 1309, |
533 | 570 | ||
534 | /** | 571 | /** |
572 | * The exchange is unaware of the denomination key that was | ||
573 | * used to sign the melted zombie coin. This response is provided | ||
574 | * with HTTP status code MHD_HTTP_NOT_FOUND. | ||
575 | */ | ||
576 | TALER_EC_REFRESH_PAYBACK_DENOMINATION_KEY_NOT_FOUND = 1301, | ||
577 | |||
578 | /** | ||
579 | * Validity period of the denomination key | ||
580 | * is in the future. Returned with an HTTP | ||
581 | * status of #MHD_HTTP_PRECONDITION_FAILED. | ||
582 | */ | ||
583 | TALER_EC_REFRESH_PAYBACK_DENOMINATION_VALIDITY_IN_FUTURE = 1301, | ||
584 | |||
585 | /** | ||
586 | * Denomination key of the coin is past the | ||
587 | * deposit deadline. Returned with an HTTP | ||
588 | * status of #MHD_HTTP_GONE. | ||
589 | */ | ||
590 | TALER_EC_REFRESH_PAYBACK_DENOMINATION_EXPIRED = 1302, | ||
591 | |||
592 | /** | ||
593 | * Denomination key of the coin is past the | ||
594 | * deposit deadline. Returned with an HTTP | ||
595 | * status of #MHD_HTTP_GONE. | ||
596 | */ | ||
597 | TALER_EC_REFRESH_ZOMBIE_DENOMINATION_EXPIRED = 1303, | ||
598 | |||
599 | |||
600 | /** | ||
535 | * The provided transfer keys do not match up with the | 601 | * The provided transfer keys do not match up with the |
536 | * original commitment. Information about the original | 602 | * original commitment. Information about the original |
537 | * commitment is included in the response. This response is | 603 | * commitment is included in the response. This response is |
@@ -921,7 +987,15 @@ enum TALER_ErrorCode | |||
921 | * This response is provided with an HTTP status code of | 987 | * This response is provided with an HTTP status code of |
922 | * MHD_HTTP_INTERNAL_SERVER_ERROR | 988 | * MHD_HTTP_INTERNAL_SERVER_ERROR |
923 | */ | 989 | */ |
924 | TALER_EC_PAYBACK_COIN_BALANCE_NEGATIVE = 1857, | 990 | TALER_EC_PAYBACK_COIN_BALANCE_NEGATIVE = 1859, |
991 | |||
992 | /** | ||
993 | * Validity period of the denomination key | ||
994 | * is in the future. Returned with an HTTP | ||
995 | * status of #MHD_HTTP_PRECONDITION_FAILED. | ||
996 | */ | ||
997 | TALER_EC_PAYBACK_DENOMINATION_VALIDITY_IN_FUTURE = 1860, | ||
998 | |||
925 | 999 | ||
926 | /** | 1000 | /** |
927 | * The "have" parameter was not a natural number. | 1001 | * The "have" parameter was not a natural number. |