diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 23:32:05 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 23:32:05 +0100 |
commit | 4b126e2c8b90c4b0410bbc5b755084438e132edf (patch) | |
tree | e33f5e8d169bc3f012e7f1761dc06370b1259175 /taler | |
parent | 9dff7df613673721a1027d42ba8ca368bf7e0a02 (diff) | |
download | taler-util-4b126e2c8b90c4b0410bbc5b755084438e132edf.tar.gz taler-util-4b126e2c8b90c4b0410bbc5b755084438e132edf.tar.bz2 taler-util-4b126e2c8b90c4b0410bbc5b755084438e132edf.zip |
payback -> recoup
Diffstat (limited to 'taler')
-rw-r--r-- | taler/util/errorcodes.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py index 1eb8805..2f67090 100644 --- a/taler/util/errorcodes.py +++ b/taler/util/errorcodes.py @@ -233,7 +233,7 @@ ec._add_ec( """ The exchange failed to obtain the transaction history of the given coin from the database while generating an insufficient - funds errors. This can happen during /deposit or /payback requests. + funds errors. This can happen during /deposit or /recoup requests. This response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR. """, @@ -760,12 +760,12 @@ ec._add_ec( """ 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 payback). + fresh coin being subjected to recoup). """, ) ec._add_ec( - "REFRESH_PAYBACK_DENOMINATION_KEY_NOT_FOUND", + "REFRESH_RECOUP_DENOMINATION_KEY_NOT_FOUND", 1351, """ The exchange is unaware of the denomination key that was @@ -775,7 +775,7 @@ ec._add_ec( ) ec._add_ec( - "REFRESH_PAYBACK_DENOMINATION_VALIDITY_IN_FUTURE", + "REFRESH_RECOUP_DENOMINATION_VALIDITY_IN_FUTURE", 1352, """ Validity period of the denomination key @@ -785,7 +785,7 @@ ec._add_ec( ) ec._add_ec( - "REFRESH_PAYBACK_DENOMINATION_EXPIRED", + "REFRESH_RECOUP_DENOMINATION_EXPIRED", 1353, """ Denomination key of the coin is past the @@ -1261,17 +1261,17 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_DENOMINATION_KEY_UNKNOWN", + "RECOUP_DENOMINATION_KEY_UNKNOWN", 1850, """ - The given denomination key is not in the "payback" set of the + The given denomination key is not in the "recoup" set of the exchange right now. This response is provided with an HTTP status code of MHD_HTTP_NOT_FOUND. """, ) ec._add_ec( - "PAYBACK_SIGNATURE_INVALID", + "RECOUP_SIGNATURE_INVALID", 1851, """ The given coin signature is invalid for the request. @@ -1281,7 +1281,7 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_DENOMINATION_SIGNATURE_INVALID", + "RECOUP_DENOMINATION_SIGNATURE_INVALID", 1852, """ The signature of the denomination key over the coin is not valid. @@ -1291,7 +1291,7 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_DB_FETCH_FAILED", + "RECOUP_DB_FETCH_FAILED", 1853, """ The exchange failed to access its own database about reserves. @@ -1301,7 +1301,7 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_WITHDRAW_NOT_FOUND", + "RECOUP_WITHDRAW_NOT_FOUND", 1854, """ The exchange could not find the corresponding withdraw operation. @@ -1311,7 +1311,7 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_HISTORY_DB_ERROR", + "RECOUP_HISTORY_DB_ERROR", 1855, """ The exchange obtained an internally inconsistent transaction @@ -1321,17 +1321,17 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_DB_PUT_FAILED", + "RECOUP_DB_PUT_FAILED", 1856, """ - The exchange failed to store information about the payback to be + The exchange failed to store information about the recoup to be performed in the database. This response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR. """, ) ec._add_ec( - "PAYBACK_COIN_BALANCE_ZERO", + "RECOUP_COIN_BALANCE_ZERO", 1857, """ The coin's remaining balance is zero. The request is denied. @@ -1341,7 +1341,7 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_BLINDING_FAILED", + "RECOUP_BLINDING_FAILED", 1858, """ The exchange failed to reproduce the coin's blinding. @@ -1351,7 +1351,7 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_COIN_BALANCE_NEGATIVE", + "RECOUP_COIN_BALANCE_NEGATIVE", 1859, """ The coin's remaining balance is zero. The request is denied. @@ -1361,7 +1361,7 @@ ec._add_ec( ) ec._add_ec( - "PAYBACK_DENOMINATION_VALIDITY_IN_FUTURE", + "RECOUP_DENOMINATION_VALIDITY_IN_FUTURE", 1860, """ Validity period of the denomination key |