commit af6e22890a2cd71ce93be160a4cd4122b7cbef88
parent 4052ef25a5c29362c5342aeefcecab262cc5041d
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
Date: Sun, 6 Sep 2026 11:55:20 +0200
Update GANA registry and regenerate Taler error codes
Diffstat:
2 files changed, 405 insertions(+), 321 deletions(-)
diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h
@@ -63,7 +63,7 @@ enum TALER_ErrorCode
/**
- * An internal failure happened on the client side. Details should be in the local logs. Check if you are using the latest available version or file a report with the developers.
+ * An internal failure occurred on the client side. Details should be in the local logs. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -79,7 +79,7 @@ enum TALER_ErrorCode
/**
- * The response we got from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server.
+ * The response received from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and the network connection to the server.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -103,7 +103,7 @@ enum TALER_ErrorCode
/**
- * The service responded with a reply that was in the right data format, but the content did not satisfy the protocol. Please file a bug report.
+ * The service returned a response in the correct data format, but its content did not satisfy the protocol. File a bug report.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -135,7 +135,7 @@ enum TALER_ErrorCode
/**
- * The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_METHOD_NOT_ALLOWED (405).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -143,7 +143,7 @@ enum TALER_ErrorCode
/**
- * There is no endpoint defined for the URL provided by the client. Check if you used the correct URL and/or file a report with the developers of the client software.
+ * There is no endpoint defined for the URL provided by the client. Check whether the URL is correct or file a report with the client software developers.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -151,7 +151,7 @@ enum TALER_ErrorCode
/**
- * The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -159,7 +159,7 @@ enum TALER_ErrorCode
/**
- * Some of the HTTP headers provided by the client were malformed and caused the server to not be able to handle the request. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * Some of the HTTP headers provided by the client were malformed, so the server could not handle the request. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -167,7 +167,7 @@ enum TALER_ErrorCode
/**
- * The payto:// URI provided by the client is malformed. Check that you are using the correct syntax as of RFC 8905 and/or that you entered the bank account number correctly.
+ * The `payto://` URI provided by the client is malformed. Check that it uses the syntax specified by RFC 8905 and that the bank account number is correct.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -175,7 +175,7 @@ enum TALER_ErrorCode
/**
- * A required parameter in the request was missing. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * A required parameter in the request was missing. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -183,7 +183,7 @@ enum TALER_ErrorCode
/**
- * A parameter in the request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * A parameter in the request was malformed. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -199,7 +199,7 @@ enum TALER_ErrorCode
/**
- * The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -207,7 +207,7 @@ enum TALER_ErrorCode
/**
- * A segment in the path of the URL provided by the client is malformed. Check that you are using the correct encoding for the URL.
+ * A segment in the path of the URL provided by the client is malformed. Check that the URL uses the correct encoding.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -215,7 +215,7 @@ enum TALER_ErrorCode
/**
- * The currency involved in the operation is not acceptable for this server. Check your configuration and make sure the currency specified for a given service provider is one of the currencies supported by that provider.
+ * The currency involved in the operation is not acceptable for this server. Check the configuration and ensure that the currency specified for the service provider is supported by that provider.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -223,7 +223,7 @@ enum TALER_ErrorCode
/**
- * The URI is longer than the longest URI the HTTP server is willing to parse. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit.
+ * The URI is longer than the longest URI the HTTP server is willing to parse. If this was a legitimate request, the server administrator or software developers may need to increase the limit.
* Returned with an HTTP status code of #MHD_HTTP_URI_TOO_LONG (414).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -231,7 +231,7 @@ enum TALER_ErrorCode
/**
- * The body is too large to be permissible for the endpoint. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit.
+ * The body is too large for the endpoint. If this was a legitimate request, the server administrator or software developers may need to increase the limit.
* Returned with an HTTP status code of #MHD_HTTP_CONTENT_TOO_LARGE (413).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -239,7 +239,7 @@ enum TALER_ErrorCode
/**
- * A parameter in the request was given that must not be present. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.
+ * A parameter that must not be present was included in the request. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -255,7 +255,7 @@ enum TALER_ErrorCode
/**
- * The service refused the request as the given authorization token is unknown. You should request a valid access token from the account owner.
+ * The service refused the request because the given authorization token is unknown. The client should request a valid access token from the account owner.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -263,7 +263,7 @@ enum TALER_ErrorCode
/**
- * The service refused the request as the given authorization token expired. You should request a fresh authorization token from the account owner.
+ * The service refused the request because the given authorization token expired. The client should request a fresh authorization token from the account owner.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -271,7 +271,7 @@ enum TALER_ErrorCode
/**
- * The service refused the request as the given authorization token is invalid or malformed. You should check that you have the right credentials.
+ * The service refused the request because the given authorization token is invalid or malformed. The client should check that it has the correct credentials.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -279,7 +279,7 @@ enum TALER_ErrorCode
/**
- * The service refused the request due to lack of proper rights on the resource. You may need different credentials to be allowed to perform this operation.
+ * The service refused the request because the client lacks the required rights on the resource. The client may need different credentials to perform this operation.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -287,7 +287,7 @@ enum TALER_ErrorCode
/**
- * The service failed initialize its connection to the database. The system administrator should check that the service has permissions to access the database and that the database is running.
+ * The service failed to initialize its connection to the database. The system administrator should check that the service has permission to access the database and that the database is running.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -295,7 +295,7 @@ enum TALER_ErrorCode
/**
- * The service encountered an error event to just start the database transaction. The system administrator should check that the database is running.
+ * The service encountered an error while starting the database transaction. The system administrator should check that the database is running.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -327,7 +327,7 @@ enum TALER_ErrorCode
/**
- * The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. This indicates a repeated serialization error; it should only happen if some client maliciously tries to create conflicting concurrent transactions. It could also be a sign of a missing index. Check if you are using the latest available version and/or file a report with the developers.
+ * The service encountered an error while committing the database transaction; despite repeated retries, a conflicting transaction persisted. This indicates a serialization error. It may be caused by conflicting concurrent transactions or a missing index. Check that the latest available version is being used and file a report with the developers if the problem persists.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -335,7 +335,7 @@ enum TALER_ErrorCode
/**
- * The service's database is inconsistent and violates service-internal invariants. Check if you are using the latest available version and/or file a report with the developers.
+ * The service's database is inconsistent and violates service-internal invariants. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -343,7 +343,7 @@ enum TALER_ErrorCode
/**
- * The HTTP server experienced an internal invariant failure (bug). Check if you are using the latest available version and/or file a report with the developers.
+ * The HTTP server experienced an internal invariant failure (bug). Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -351,7 +351,7 @@ enum TALER_ErrorCode
/**
- * The service could not compute a cryptographic hash over some JSON value. Check if you are using the latest available version and/or file a report with the developers.
+ * The service could not compute a cryptographic hash over a JSON value. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -359,7 +359,7 @@ enum TALER_ErrorCode
/**
- * The service could not compute an amount. Check if you are using the latest available version and/or file a report with the developers.
+ * The service could not compute an amount. Check whether the latest available version is in use or file a report with the developers.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -383,7 +383,7 @@ enum TALER_ErrorCode
/**
- * The HTTP server failed to allocate memory for building JSON reply. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate.
+ * The HTTP server failed to allocate memory for building a JSON response. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Ask the system administrator to investigate.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -399,7 +399,7 @@ enum TALER_ErrorCode
/**
- * The backend could not locate a required template to generate an HTML reply. The system administrator should check if the resource files are installed in the correct location and are readable to the service.
+ * The backend could not locate a required template to generate an HTML response. The system administrator should check whether the resource files are installed in the correct location and readable by the service.
* Returned with an HTTP status code of #MHD_HTTP_NOT_ACCEPTABLE (406).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -407,7 +407,7 @@ enum TALER_ErrorCode
/**
- * The backend could not expand the template to generate an HTML reply. The system administrator should investigate the logs and check if the templates are well-formed.
+ * The backend could not expand the template to generate an HTML response. The system administrator should investigate the logs and check whether the templates are well-formed.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -447,7 +447,7 @@ enum TALER_ErrorCode
/**
- * Operation specified unknown for this endpoint.
+ * The specified operation is unknown for this endpoint.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -471,7 +471,7 @@ enum TALER_ErrorCode
/**
- * The public key of given to a "/coins/" endpoint of the exchange was malformed.
+ * The public key given to the `/coins/` endpoint of the exchange was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -511,7 +511,7 @@ enum TALER_ErrorCode
/**
- * Denomination key of the coin is past its expiration time for the requested operation.
+ * The denomination key of the coin has passed its expiration time for the requested operation.
* Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -535,7 +535,7 @@ enum TALER_ErrorCode
/**
- * The respective coin did not have sufficient residual value for the operation. The "history" in this response provides the "residual_value" of the coin, which may be less than its "original_value".
+ * The coin did not have sufficient residual value for the operation. The `history` in this response provides the coin's `residual_value`, which may be less than its `original_value`.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -655,7 +655,7 @@ enum TALER_ErrorCode
/**
- * The exchange has no information about the "reserve_pub" that was given.
+ * The exchange has no information about the `reserve_pub` that was provided.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -671,7 +671,7 @@ enum TALER_ErrorCode
/**
- * Inconsistency between provided age commitment and attest: either none or both must be provided
+ * The provided age commitment and attestation are inconsistent: either both must be provided or neither may be provided.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -680,7 +680,7 @@ enum TALER_ErrorCode
/**
- * The provided attestation for the minimum age couldn't be verified by the exchange.
+ * The provided attestation for the minimum age could not be verified by the exchange.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -768,7 +768,7 @@ enum TALER_ErrorCode
/**
- * The exchange is not aware of the bank account (payto URI or hash thereof) specified in the request and thus cannot perform the requested operation. The client should check that the select account is correct.
+ * The exchange is not aware of the bank account (payto URI or hash thereof) specified in the request and thus cannot perform the requested operation. The client should check that the selected account is correct.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -784,7 +784,7 @@ enum TALER_ErrorCode
/**
- * A check against sanction lists failed. This is indicative of an internal error in the sanction list processing logic. This needs to be investigated by the exchange operator.
+ * A check against sanctions lists failed. This indicates an internal error in the sanctions-list processing logic. The exchange operator should investigate.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -856,7 +856,7 @@ enum TALER_ErrorCode
/**
- * The wire hash of given to a "/deposits/" handler was malformed.
+ * The wire hash given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -864,7 +864,7 @@ enum TALER_ErrorCode
/**
- * The merchant key of given to a "/deposits/" handler was malformed.
+ * The merchant key given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -872,7 +872,7 @@ enum TALER_ErrorCode
/**
- * The hash of the contract terms given to a "/deposits/" handler was malformed.
+ * The hash of the contract terms given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -880,7 +880,7 @@ enum TALER_ErrorCode
/**
- * The coin public key of given to a "/deposits/" handler was malformed.
+ * The coin public key given to the `/deposits/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -888,7 +888,7 @@ enum TALER_ErrorCode
/**
- * The signature returned by the exchange in a /deposits/ request was malformed.
+ * The signature returned by the exchange in a `/deposits/` request was malformed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -904,7 +904,7 @@ enum TALER_ErrorCode
/**
- * The provided policy data was not accepted
+ * The provided policy data was not accepted.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -912,7 +912,7 @@ enum TALER_ErrorCode
/**
- * The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance.
+ * The given reserve does not have sufficient funds to admit the requested withdrawal operation at this time. The response includes the current `balance` of the reserve and the transaction `history` that led to this balance.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -920,7 +920,7 @@ enum TALER_ErrorCode
/**
- * The given reserve does not have sufficient funds to admit the requested age-withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance.
+ * The given reserve does not have sufficient funds to admit the requested age-withdrawal operation at this time. The response includes the current `balance` of the reserve and the transaction `history` that led to this balance.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -952,7 +952,7 @@ enum TALER_ErrorCode
/**
- * When computing the reserve history, we ended up with a negative overall balance, which should be impossible.
+ * Computing the reserve history resulted in a negative overall balance, which should be impossible.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1016,7 +1016,7 @@ enum TALER_ErrorCode
/**
- * The original commitment differs from the calculated hash
+ * The original commitment differs from the calculated hash.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1024,7 +1024,7 @@ enum TALER_ErrorCode
/**
- * The maximum age in the commitment is too large for the reserve
+ * The maximum age in the commitment is too large for the reserve.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1072,7 +1072,7 @@ enum TALER_ErrorCode
/**
- * The stated wire deadline is "never", which makes no sense.
+ * The stated wire deadline is `never`, which is not allowed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1080,7 +1080,7 @@ enum TALER_ErrorCode
/**
- * The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the "salt" or a valid payto:// URI in the wire details. Note that while the exchange will do some basic sanity checking on the wire details, it cannot warrant that the banking system will ultimately be able to route to the specified address, even if this check passed.
+ * The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the `salt` or a valid `payto://` URI in the wire details. Note that the exchange performs only basic sanity checking on the wire details; it cannot guarantee that the banking system can route funds to the specified address, even if this check succeeds.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1152,7 +1152,7 @@ enum TALER_ErrorCode
/**
- * 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).
+ * The denomination of the given coin has passed its expiration date and is not a valid zombie (that is, it was not refreshed with the fresh coin being subjected to recoup).
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1232,7 +1232,7 @@ enum TALER_ErrorCode
/**
- * The refresh session hash given to a /refreshes/ handler was malformed.
+ * The refresh session hash given to the `/refreshes/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1240,7 +1240,7 @@ enum TALER_ErrorCode
/**
- * Operation specified invalid for this endpoint.
+ * The specified operation is invalid for this endpoint.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1272,7 +1272,7 @@ enum TALER_ErrorCode
/**
- * The public key of given to a /transfers/ handler was malformed.
+ * The public key given to the `/transfers/` handler was malformed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1320,7 +1320,7 @@ enum TALER_ErrorCode
/**
- * The exchange knows literally nothing about the coin we were asked to refund. But without a transaction history, we cannot issue a refund. This is kind-of OK, the owner should just refresh it directly without executing the refund.
+ * The exchange has no information about the coin to be refunded. Without a transaction history, it cannot issue a refund. This is acceptable; the owner should refresh the coin directly without executing the refund.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1328,7 +1328,7 @@ enum TALER_ErrorCode
/**
- * We could not process the refund request as the coin's transaction history does not permit the requested refund because then refunds would exceed the deposit amount. The "history" in the response proves this.
+ * The refund request could not be processed because the coin's transaction history does not permit it: the refunds would exceed the deposit amount. The `history` in the response demonstrates this.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1336,7 +1336,7 @@ enum TALER_ErrorCode
/**
- * The exchange knows about the coin we were asked to refund, but not about the specific /deposit operation. Hence, we cannot issue a refund (as we do not know if this merchant public key is authorized to do a refund).
+ * The exchange knows about the coin to be refunded, but not about the specific `/deposit` operation. Therefore, it cannot issue a refund because it does not know whether this merchant public key is authorized to issue one.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1344,7 +1344,7 @@ enum TALER_ErrorCode
/**
- * The exchange can no longer refund the customer/coin as the money was already transferred (paid out) to the merchant. (It should be past the refund deadline.)
+ * The exchange can no longer refund the customer or coin because the money was already transferred to the merchant. The refund deadline has passed.
* Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1488,7 +1488,7 @@ enum TALER_ErrorCode
/**
- * This exchange does not allow clients to request /keys for times other than the current (exchange) time.
+ * This exchange does not allow clients to request `/keys` for times other than the current exchange time.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1504,7 +1504,7 @@ enum TALER_ErrorCode
/**
- * No bank accounts are enabled for the exchange. The administrator should enable-account using the taler-exchange-offline tool.
+ * No bank accounts are enabled for the exchange. The administrator should enable an account using the `taler-exchange-offline` tool.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1528,7 +1528,7 @@ enum TALER_ErrorCode
/**
- * This purse was previously created with different meta data.
+ * This purse was previously created with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1536,7 +1536,7 @@ enum TALER_ErrorCode
/**
- * This purse was previously merged with different meta data.
+ * This purse was previously merged with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1608,7 +1608,7 @@ enum TALER_ErrorCode
/**
- * The signature of the exchange on the reply was invalid.
+ * The exchange's signature on the response was invalid.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1696,7 +1696,7 @@ enum TALER_ErrorCode
/**
- * The signature by the reserve affirming the attestion request is invalid.
+ * The signature by the reserve affirming the attestation request is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1904,7 +1904,7 @@ enum TALER_ErrorCode
/**
- * There AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange.
+ * The AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1928,7 +1928,7 @@ enum TALER_ErrorCode
/**
- * The exchange already has this denomination key configured, but with different meta data. This should not be possible, contact the developers for support.
+ * The exchange already has this denomination key configured, but with different metadata. This should not be possible; contact the developers for support.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1936,7 +1936,7 @@ enum TALER_ErrorCode
/**
- * The exchange already has this signing key configured, but with different meta data. This should not be possible, contact the developers for support.
+ * The exchange already has this signing key configured, but with different metadata. This should not be possible; contact the developers for support.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1944,7 +1944,7 @@ enum TALER_ErrorCode
/**
- * The purse was previously created with different meta data.
+ * The purse was previously created with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1976,7 +1976,7 @@ enum TALER_ErrorCode
/**
- * The purse expiration time is "never".
+ * The purse expiration time is `never`.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -1984,7 +1984,7 @@ enum TALER_ErrorCode
/**
- * The purse signature over the purse meta data is invalid.
+ * The purse signature over the purse metadata is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2008,7 +2008,7 @@ enum TALER_ErrorCode
/**
- * The coin was previously deposited with different meta data.
+ * The coin was previously deposited with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2016,7 +2016,7 @@ enum TALER_ErrorCode
/**
- * The encrypted contract was previously uploaded with different meta data.
+ * The encrypted contract was previously uploaded with different metadata.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2088,7 +2088,7 @@ enum TALER_ErrorCode
/**
- * The auditor signature over the denomination meta data is invalid.
+ * The auditor signature over the denomination metadata is invalid.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2136,7 +2136,7 @@ enum TALER_ErrorCode
/**
- * The exchange got stuck in a long series of (likely recursive) KYC rules without user-inputs that did not result in a timely conclusion. This is a configuration failure. Please contact the administrator.
+ * The exchange got stuck in a long series of likely recursive KYC rules without user input, preventing a timely conclusion. This is a configuration failure. The administrator should investigate.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2208,7 +2208,7 @@ enum TALER_ErrorCode
/**
- * The exchange is unaware of having made an the authorization request.
+ * The exchange is unaware of having made the authorization request.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2304,7 +2304,7 @@ enum TALER_ErrorCode
/**
- * The form has been previously uploaded, and may only be filed once. The user should be redirected to their main KYC page and see if any other steps need to be taken.
+ * The form was previously uploaded and may only be submitted once. The user should be redirected to the main KYC page to determine whether further steps are required.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2464,7 +2464,7 @@ enum TALER_ErrorCode
/**
- * The master key of the exchange does not match the one configured for this merchant. As a result, we refuse to do business with this exchange. The administrator should check if they configured the exchange correctly in the merchant backend.
+ * The master key of the exchange does not match the one configured for this merchant. As a result, the merchant refuses to do business with this exchange. The administrator should check whether the exchange is configured correctly in the merchant backend.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2496,7 +2496,7 @@ enum TALER_ErrorCode
/**
- * The order provided to the backend could not be completed, because a product to be completed via inventory data is not actually in our inventory.
+ * The order provided to the backend could not be completed because a product specified through inventory data is not in the inventory.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2552,7 +2552,7 @@ enum TALER_ErrorCode
/**
- * The exchange returned a maformed response.
+ * The exchange returned a malformed response.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2592,7 +2592,7 @@ enum TALER_ErrorCode
/**
- * The backend could not find the template(id) because it is not exist.
+ * The backend could not find the template with the specified ID because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2600,7 +2600,7 @@ enum TALER_ErrorCode
/**
- * The backend could not find the webhook(id) because it is not exist.
+ * The backend could not find the webhook with the specified ID because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2608,7 +2608,7 @@ enum TALER_ErrorCode
/**
- * The backend could not find the webhook(serial) because it is not exist.
+ * The backend could not find the webhook with the specified serial because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2616,7 +2616,7 @@ enum TALER_ErrorCode
/**
- * The backend could not find the OTP device(id) because it is not exist.
+ * The backend could not find the OTP device with the specified ID because it does not exist.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2696,7 +2696,7 @@ enum TALER_ErrorCode
/**
- * This operation requires multi-factor authorization and the respective instance does not have a sufficient number of factors that could be validated configured. You need to ask the system administrator to perform this operation.
+ * This operation requires multi-factor authorization, but the instance does not have enough configured factors that can be validated. The system administrator must perform this operation.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2712,7 +2712,7 @@ enum TALER_ErrorCode
/**
- * The unit referenced in the request is builtin and cannot be modified or deleted.
+ * The unit referenced in the request is built-in and cannot be modified or deleted.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2768,7 +2768,7 @@ enum TALER_ErrorCode
/**
- * The merchant does not expect any transfer with the given ID and can thus not return any details about it.
+ * The merchant does not expect a transfer with the given ID and therefore cannot return any details about it.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2792,6 +2792,14 @@ enum TALER_ErrorCode
/**
+ * The fountain is not known to the backend.
+ * Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_MERCHANT_GENERIC_FOUNTAIN_UNKNOWN = 2043,
+
+
+ /**
* One of the binaries needed to generate the PDF is not installed. If this feature is required, the system administrator should make sure Typst and pdftk are both installed.
* Returned with an HTTP status code of #MHD_HTTP_NOT_IMPLEMENTED (501).
* (A value of 0 indicates that the error is generated client-side).
@@ -2880,7 +2888,7 @@ enum TALER_ErrorCode
/**
- * The challenge was already solved. Thus, we refuse to send it again.
+ * The challenge was already solved. Therefore, the service refuses to send it again.
* Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2976,7 +2984,7 @@ enum TALER_ErrorCode
/**
- * Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract.
+ * Even without considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -2992,7 +3000,7 @@ enum TALER_ErrorCode
/**
- * When we tried to find information about the exchange to issue the deposit, we failed. This usually only happens if the merchant backend is somehow unable to get its own HTTP client logic to work.
+ * The merchant backend failed to find information about the exchange to issue the deposit. This usually happens when the merchant backend's HTTP client logic is not working.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3025,7 +3033,7 @@ enum TALER_ErrorCode
/**
- * 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.
+ * The `merchant` field is missing from the proposal data. This is an internal error because the proposal comes from the merchant's own database at this point.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3057,7 +3065,7 @@ enum TALER_ErrorCode
/**
- * The contract was not fully paid because of refunds. Note that clients MAY treat this as paid if, for example, contracts must be executed despite of refunds.
+ * The contract was not fully paid because of refunds. Clients may treat it as paid if, for example, the contract must be executed despite refunds.
* Returned with an HTTP status code of #MHD_HTTP_PAYMENT_REQUIRED (402).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3065,7 +3073,7 @@ enum TALER_ErrorCode
/**
- * According to our database, we have refunded more than we were paid (which should not be possible).
+ * The database indicates that more was refunded than was paid, which should not be possible.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3105,7 +3113,7 @@ enum TALER_ErrorCode
/**
- * The payment required a minimum age but one of the coins provided a minimum_age_sig that couldn't be verified with the given age_commitment for that particular minimum age.
+ * The payment required a minimum age, but one of the coins provided a `minimum_age_sig` that could not be verified with the given `age_commitment` for that minimum age.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3193,7 +3201,7 @@ enum TALER_ErrorCode
/**
- * The payment violates a transaction limit configured at the given exchange. The wallet has a bug in that it failed to check exchange limits during coin selection. Please report the bug to your wallet developer.
+ * The payment violates a transaction limit configured at the given exchange. The wallet failed to check exchange limits during coin selection. The wallet developer should investigate.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3218,7 +3226,7 @@ enum TALER_ErrorCode
/**
- * The order was already paid, but completing a different choice than the one given in this request. The client should use the choice the order was actually paid with.
+ * The order was already paid, but the request specified a different choice. The client should use the choice with which the order was actually paid.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3306,7 +3314,7 @@ enum TALER_ErrorCode
/**
- * We are waiting for the exchange to provide us with key material before checking the wire transfer.
+ * The merchant is waiting for the exchange to provide key material before checking the wire transfer.
* Returned with an HTTP status code of #MHD_HTTP_ACCEPTED (202).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3314,7 +3322,7 @@ enum TALER_ErrorCode
/**
- * We are waiting for the exchange to provide us with the list of aggregated transactions.
+ * The merchant is waiting for the exchange to provide the list of aggregated transactions.
* Returned with an HTTP status code of #MHD_HTTP_ACCEPTED (202).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3346,7 +3354,7 @@ enum TALER_ErrorCode
/**
- * We experienced a transient failure in our interaction with the exchange.
+ * The merchant experienced a transient failure while interacting with the exchange.
* Returned with an HTTP status code of #MHD_HTTP_ACCEPTED (202).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3386,7 +3394,7 @@ enum TALER_ErrorCode
/**
- * We could not claim the order because the backend is unaware of it.
+ * The order could not be claimed because the backend is unaware of it.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3394,7 +3402,7 @@ enum TALER_ErrorCode
/**
- * We could not claim the order because someone else claimed it first.
+ * The order could not be claimed because another client claimed it first.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3402,7 +3410,7 @@ enum TALER_ErrorCode
/**
- * The client-side experienced an internal failure.
+ * The client experienced an internal failure.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3478,8 +3486,8 @@ enum TALER_ErrorCode
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
- TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE = 2500
- ,
+ TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE =
+ 2500,
/**
@@ -3523,7 +3531,7 @@ enum TALER_ErrorCode
/**
- * The order creation request is invalid because a wire deadline of "never" is not allowed.
+ * The order creation request is invalid because a wire deadline of `never` is not allowed.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3547,7 +3555,7 @@ enum TALER_ErrorCode
/**
- * The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the wire method specified with the order. (Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion.) One likely cause for this is that the taler-merchant-exchangekeyupdate process is not running.
+ * The backend does not trust any exchange that would allow funds to be wired to a bank account of this instance using the wire method specified with the order. Exchange bank accounts with mandatory currency conversion are not currently supported. A likely cause is that the `taler-merchant-exchangekeyupdate` process is not running.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3571,7 +3579,7 @@ enum TALER_ErrorCode
/**
- * The refund amount would violate a refund transaction limit configured at the given exchange. Please find another way to refund the customer, and inquire with your legislator why they make strange banking regulations.
+ * The refund amount would violate a refund transaction limit configured at the given exchange. The merchant should use another way to refund the customer and consult the exchange operator about the applicable regulations.
* Returned with an HTTP status code of #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS (451).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3580,7 +3588,7 @@ enum TALER_ErrorCode
/**
- * The total order amount exceeds hard legal transaction limits from the available exchanges, thus a customer could never legally make this payment. You may try to increase your limits by passing legitimization checks with exchange operators. You could also inquire with your legislator why the limits are prohibitively low for your business.
+ * The total order amount exceeds the legal transaction limits of the available exchanges, so a customer could not legally make this payment. The merchant may increase its limits by completing legitimization checks with exchange operators.
* Returned with an HTTP status code of #MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS (451).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3588,7 +3596,7 @@ enum TALER_ErrorCode
/**
- * A currency specified to be paid in the contract is not supported by any exchange that this instance can currently use. Possible solutions include (1) specifying a different currency, (2) adding additional suitable exchange operators to the merchant backend configuration, or (3) satisfying compliance rules of an configured exchange to begin using the service of that provider.
+ * A currency specified to be paid in the contract is not supported by any exchange that this instance can currently use. Possible solutions include (1) specifying a different currency, (2) adding suitable exchange operators to the merchant backend configuration, or (3) satisfying the compliance rules of a configured exchange to begin using that provider's service.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3596,7 +3604,7 @@ enum TALER_ErrorCode
/**
- * The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid.
+ * The order provided to the backend could not be deleted because the offer is still valid and awaiting payment. Deletion may work after the offer expires if it remains unpaid.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3616,8 +3624,8 @@ enum TALER_ErrorCode
* Returned with an HTTP status code of #MHD_HTTP_GONE (410).
* (A value of 0 indicates that the error is generated client-side).
*/
- TALER_EC_MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE = 2525
- ,
+ TALER_EC_MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE =
+ 2525,
/**
@@ -3641,8 +3649,8 @@ enum TALER_ErrorCode
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
- TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT = 2532
- ,
+ TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT =
+ 2532,
/**
@@ -3699,8 +3707,8 @@ enum TALER_ErrorCode
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
- TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_EXTERNAL_ALREADY_EXISTS = 2539
- ,
+ TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_EXTERNAL_ALREADY_EXISTS =
+ 2539,
/**
@@ -3712,7 +3720,7 @@ enum TALER_ErrorCode
/**
- * We internally failed to execute the /track/transfer request.
+ * The backend failed to execute the `/track/transfer` request internally.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3744,7 +3752,7 @@ enum TALER_ErrorCode
/**
- * We did not find the account that the transfer was made to.
+ * The backend did not find the account to which the transfer was made.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3752,7 +3760,7 @@ enum TALER_ErrorCode
/**
- * The backend could not delete the transfer as the echange already replied to our inquiry about it and we have integrated the result.
+ * The backend could not delete the transfer because the exchange already responded to the inquiry and the result was integrated.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3864,7 +3872,7 @@ enum TALER_ErrorCode
/**
- * The bank account specified is not acceptable for this exchange. The exchange either does not support the wire method or something else about the specific account. Consult the exchange account constraints and specify a different bank account if you want to use this exchange.
+ * The bank account specified is not acceptable for this exchange. The exchange either does not support the wire method or does not support another property of the account. Check the exchange account constraints and specify a different bank account if necessary.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3928,7 +3936,7 @@ enum TALER_ErrorCode
/**
- * The deletion request is for a product that is locked. The product cannot be deleted until the existing offer to expires.
+ * The deletion request is for a locked product. The product cannot be deleted until the existing offer expires.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3936,7 +3944,7 @@ enum TALER_ErrorCode
/**
- * The proposed name for the product group is already in use. You should select a different name.
+ * The proposed name for the product group is already in use. The client should select a different name.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -3944,7 +3952,7 @@ enum TALER_ErrorCode
/**
- * The proposed name for the money pot is already in use. You should select a different name.
+ * The proposed name for the money pot is already in use. The client should select a different name.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4074,7 +4082,7 @@ enum TALER_ErrorCode
/**
- * The selected template has a different type than the one specified in the request of the client. This may happen if the template was updated since the last time the client fetched it. The client should re-fetch the current template and send a request of the correct type.
+ * The selected template has a different type from the one specified in the client request. This may happen if the template was updated since the client last fetched it. The client should refetch the current template and send a request with the correct type.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4082,7 +4090,7 @@ enum TALER_ErrorCode
/**
- * The selected template does not allow one of the specified products to be included in the order. This may happen if the template was updated since the last time the client fetched it. The client should re-fetch the current template and send a request of the correct type.
+ * The selected template does not allow one of the specified products to be included in the order. This may happen if the template was updated since the client last fetched it. The client should refetch the current template and send a request with the correct type.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4115,6 +4123,30 @@ enum TALER_ErrorCode
/**
+ * A withdrawal entry refers to a token family without a matching grant in the fountain.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_MERCHANT_POST_FOUNTAIN_WITHDRAW_GRANT_UNKNOWN = 2950,
+
+
+ /**
+ * The desired token validity time selects an issue key slot outside of the grant's key window.
+ * Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_MERCHANT_POST_FOUNTAIN_WITHDRAW_SLOT_OUTSIDE_WINDOW = 2951,
+
+
+ /**
+ * The grant's per-period withdrawal limit is exhausted for the requested issue key slot.
+ * Returned with an HTTP status code of #MHD_HTTP_TOO_MANY_REQUESTS (429).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_MERCHANT_POST_FOUNTAIN_WITHDRAW_LIMIT_EXCEEDED = 2952,
+
+
+ /**
* The auditor refused the connection due to a lack of authorization.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
@@ -4443,7 +4475,7 @@ enum TALER_ErrorCode
/**
- * A non-admin user has tried to change their password whihout providing the current one.
+ * A non-admin user tried to change their password without providing the current password.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4483,7 +4515,7 @@ enum TALER_ErrorCode
/**
- * The client tried to create a transaction that credit the admin account.
+ * The client tried to create a transaction that credits the administrator's account.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4523,7 +4555,7 @@ enum TALER_ErrorCode
/**
- * Amount of currency conversion it less than the minimum allowed.
+ * The amount of the currency conversion is less than the minimum allowed.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4563,7 +4595,7 @@ enum TALER_ErrorCode
/**
- * Bank account is locked and cannot authenticate using his password.
+ * The bank account is locked, and the user cannot authenticate with their password.
* Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4571,7 +4603,7 @@ enum TALER_ErrorCode
/**
- * The client attempted to update a transaction' details that was already aborted.
+ * The client attempted to update the details of a transaction that was already aborted.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4587,7 +4619,7 @@ enum TALER_ErrorCode
/**
- * A non-admin user has tried to set their conversion rate class
+ * A non-admin user tried to set their conversion rate class.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4595,7 +4627,7 @@ enum TALER_ErrorCode
/**
- * The referenced conversion rate class was not found
+ * The referenced conversion rate class was not found.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4643,7 +4675,7 @@ enum TALER_ErrorCode
/**
- * The authorization_pub for a request to transfer funds has already been used for another non recurrent transfer.
+ * The `authorization_pub` for a request to transfer funds has already been used for another non-recurring transfer.
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4659,7 +4691,7 @@ enum TALER_ErrorCode
/**
- * The sync service failed find the account in its database.
+ * The sync service failed to find the account in its database.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4739,7 +4771,7 @@ enum TALER_ErrorCode
/**
- * Sync could not setup the payment request with its own backend.
+ * The sync service could not set up the payment request with its own backend.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4747,7 +4779,7 @@ enum TALER_ErrorCode
/**
- * The sync service failed find the backup to be updated in its database.
+ * The sync service failed to find the backup to be updated in its database.
* Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND (404).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4811,7 +4843,7 @@ enum TALER_ErrorCode
/**
- * The wallet received a response from a server, but the response can't be parsed.
+ * The wallet received a response from a server, but the response cannot be parsed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4883,7 +4915,7 @@ enum TALER_ErrorCode
/**
- * The bank has aborted a withdrawal operation, and thus a withdrawal can't complete.
+ * The bank aborted a withdrawal operation, so the withdrawal cannot complete.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -4955,7 +4987,7 @@ enum TALER_ErrorCode
/**
- * A pending operation failed, and thus the request can't be completed.
+ * A pending operation failed, so the request cannot be completed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5051,7 +5083,7 @@ enum TALER_ErrorCode
/**
- * An exchange entry is still used by the exchange, thus it can't be deleted without purging.
+ * An exchange entry is still used by the exchange, so it cannot be deleted without purging.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5067,7 +5099,7 @@ enum TALER_ErrorCode
/**
- * A taler:// URI is malformed and can't be parsed.
+ * A `taler://` URI is malformed and cannot be parsed.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5075,7 +5107,7 @@ enum TALER_ErrorCode
/**
- * A wallet-core request was cancelled and thus can't provide a response.
+ * A wallet-core request was cancelled and therefore cannot provide a response.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5339,7 +5371,15 @@ enum TALER_ErrorCode
/**
- * We encountered a timeout with our payment backend.
+ * The values of a reviewed peer push payment changed before confirmation. The caller must prepare and show the payment again.
+ * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_WALLET_PEER_PUSH_PAYMENT_QUOTE_CHANGED = 7069,
+
+
+ /**
+ * The service encountered a timeout with its payment backend.
* Returned with an HTTP status code of #MHD_HTTP_GATEWAY_TIMEOUT (504).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5355,7 +5395,7 @@ enum TALER_ErrorCode
/**
- * The backend got an unexpected reply from the payment processor.
+ * The backend received an unexpected response from the payment processor.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5475,7 +5515,7 @@ enum TALER_ErrorCode
/**
- * The backend forgot the order we asked the client to pay for
+ * The backend no longer knows about the order that the client was asked to pay for.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5491,7 +5531,7 @@ enum TALER_ErrorCode
/**
- * The backend reported a payment status we did not expect.
+ * The backend reported an unexpected payment status.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5579,7 +5619,7 @@ enum TALER_ErrorCode
/**
- * Failed to run the E-mail transmission helper process.
+ * Failed to run the email transmission helper process.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5587,7 +5627,7 @@ enum TALER_ErrorCode
/**
- * Provider failed to send E-mail. Helper terminated with a non-successful result.
+ * The provider failed to send email. The helper terminated with a non-successful result.
* Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5755,7 +5795,7 @@ enum TALER_ErrorCode
/**
- * We experienced an unexpected failure interacting with the backend.
+ * The service experienced an unexpected failure while interacting with the backend.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5763,7 +5803,7 @@ enum TALER_ErrorCode
/**
- * The contents of a resource file did not match our expectations.
+ * The contents of a resource file did not match the expected format.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5795,7 +5835,7 @@ enum TALER_ErrorCode
/**
- * Our attempts to download the recovery document failed with all providers. Most likely the personal information you entered differs from the information you provided during the backup process and you should go back to the previous step. Alternatively, if you used a backup provider that is unknown to this application, you should add that provider manually.
+ * Attempts to download the recovery document failed with all providers. The personal information may differ from the information provided during the backup process. Alternatively, the backup may use a provider that is unknown to this application and must be added manually.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5819,7 +5859,7 @@ enum TALER_ErrorCode
/**
- * The policy we downloaded is malformed. Must have been a client error while creating the backup.
+ * The downloaded policy is malformed. This was likely caused by a client error while creating the backup.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5827,7 +5867,7 @@ enum TALER_ErrorCode
/**
- * We failed to obtain the policy, likely due to a network issue.
+ * The policy could not be obtained, likely due to a network issue.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -5859,7 +5899,7 @@ enum TALER_ErrorCode
/**
- * The provider returned in invalid configuration.
+ * The provider returned an invalid configuration.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -6011,7 +6051,7 @@ enum TALER_ErrorCode
/**
- * A generic error happened in the LibEuFin nexus. See the enclose details JSON for more information.
+ * A generic error occurred in the LibEuFin nexus. See the enclosed details JSON for more information.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -6027,7 +6067,7 @@ enum TALER_ErrorCode
/**
- * A generic error happened in the LibEuFin sandbox. See the enclose details JSON for more information.
+ * A generic error occurred in the LibEuFin sandbox. See the enclosed details JSON for more information.
* Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -6195,7 +6235,7 @@ enum TALER_ErrorCode
/**
- * Authentication of the client failed: the client identifier and client secret presented do not match a registered client. Returned where the endpoint authenticates the client, so the reply challenges for credentials.
+ * Authentication of the client failed: the presented client identifier and client secret do not match a registered client. This response is returned when the endpoint authenticates the client, so it challenges the client for credentials.
* Returned with an HTTP status code of #MHD_HTTP_UNAUTHORIZED (401).
* (A value of 0 indicates that the error is generated client-side).
*/
@@ -6243,7 +6283,7 @@ enum TALER_ErrorCode
/**
- * The merchant backend refused our request to check the payment status. The backend is either down or Paivana is configured badly. The system administrator should check the logs.
+ * The merchant backend refused the request to check the payment status. The backend is either unavailable or Paivana is misconfigured. The system administrator should check the logs.
* Returned with an HTTP status code of #MHD_HTTP_BAD_GATEWAY (502).
* (A value of 0 indicates that the error is generated client-side).
*/
diff --git a/src/util/taler_error_codes.c b/src/util/taler_error_codes.c
@@ -77,7 +77,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2 */
.ec = TALER_EC_GENERIC_CLIENT_INTERNAL_ERROR,
.hint =
- "An internal failure happened on the client side. Details should be in the local logs. Check if you are using the latest available version or file a report with the developers.",
+ "An internal failure occurred on the client side. Details should be in the local logs. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -93,7 +93,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 10 */
.ec = TALER_EC_GENERIC_INVALID_RESPONSE,
.hint =
- "The response we got from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and/or the network connection to the server.",
+ "The response received from the server was not in the expected format. Most likely, the server does not speak the GNU Taler protocol. Check the URL and the network connection to the server.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -117,7 +117,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 13 */
.ec = TALER_EC_GENERIC_REPLY_MALFORMED,
.hint =
- "The service responded with a reply that was in the right data format, but the content did not satisfy the protocol. Please file a bug report.",
+ "The service returned a response in the correct data format, but its content did not satisfy the protocol. File a bug report.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -149,7 +149,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 20 */
.ec = TALER_EC_GENERIC_METHOD_INVALID,
.hint =
- "The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
+ "The HTTP method used is invalid for this endpoint. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_METHOD_NOT_ALLOWED
},
@@ -157,7 +157,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 21 */
.ec = TALER_EC_GENERIC_ENDPOINT_UNKNOWN,
.hint =
- "There is no endpoint defined for the URL provided by the client. Check if you used the correct URL and/or file a report with the developers of the client software.",
+ "There is no endpoint defined for the URL provided by the client. Check whether the URL is correct or file a report with the client software developers.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -165,7 +165,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 22 */
.ec = TALER_EC_GENERIC_JSON_INVALID,
.hint =
- "The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
+ "The JSON in the client's request was malformed. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -173,7 +173,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 23 */
.ec = TALER_EC_GENERIC_HTTP_HEADERS_MALFORMED,
.hint =
- "Some of the HTTP headers provided by the client were malformed and caused the server to not be able to handle the request. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
+ "Some of the HTTP headers provided by the client were malformed, so the server could not handle the request. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -181,7 +181,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 24 */
.ec = TALER_EC_GENERIC_PAYTO_URI_MALFORMED,
.hint =
- "The payto:// URI provided by the client is malformed. Check that you are using the correct syntax as of RFC 8905 and/or that you entered the bank account number correctly.",
+ "The `payto://` URI provided by the client is malformed. Check that it uses the syntax specified by RFC 8905 and that the bank account number is correct.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -189,7 +189,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 25 */
.ec = TALER_EC_GENERIC_PARAMETER_MISSING,
.hint =
- "A required parameter in the request was missing. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
+ "A required parameter in the request was missing. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -197,7 +197,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 26 */
.ec = TALER_EC_GENERIC_PARAMETER_MALFORMED,
.hint =
- "A parameter in the request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
+ "A parameter in the request was malformed. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -212,7 +212,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 28 */
.ec = TALER_EC_GENERIC_COMPRESSION_INVALID,
.hint =
- "The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
+ "The body in the request could not be decompressed by the server. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -220,7 +220,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 29 */
.ec = TALER_EC_GENERIC_PATH_SEGMENT_MALFORMED,
.hint =
- "A segment in the path of the URL provided by the client is malformed. Check that you are using the correct encoding for the URL.",
+ "A segment in the path of the URL provided by the client is malformed. Check that the URL uses the correct encoding.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -228,7 +228,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 30 */
.ec = TALER_EC_GENERIC_CURRENCY_MISMATCH,
.hint =
- "The currency involved in the operation is not acceptable for this server. Check your configuration and make sure the currency specified for a given service provider is one of the currencies supported by that provider.",
+ "The currency involved in the operation is not acceptable for this server. Check the configuration and ensure that the currency specified for the service provider is supported by that provider.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -236,7 +236,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 31 */
.ec = TALER_EC_GENERIC_URI_TOO_LONG,
.hint =
- "The URI is longer than the longest URI the HTTP server is willing to parse. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit.",
+ "The URI is longer than the longest URI the HTTP server is willing to parse. If this was a legitimate request, the server administrator or software developers may need to increase the limit.",
.http_code = MHD_HTTP_URI_TOO_LONG
},
@@ -244,7 +244,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 32 */
.ec = TALER_EC_GENERIC_UPLOAD_EXCEEDS_LIMIT,
.hint =
- "The body is too large to be permissible for the endpoint. If you believe this was a legitimate request, contact the server administrators and/or the software developers to increase the limit.",
+ "The body is too large for the endpoint. If this was a legitimate request, the server administrator or software developers may need to increase the limit.",
.http_code = MHD_HTTP_CONTENT_TOO_LARGE
},
@@ -252,7 +252,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 33 */
.ec = TALER_EC_GENERIC_PARAMETER_EXTRA,
.hint =
- "A parameter in the request was given that must not be present. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
+ "A parameter that must not be present was included in the request. This is likely a bug in the client implementation. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -268,7 +268,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 41 */
.ec = TALER_EC_GENERIC_TOKEN_UNKNOWN,
.hint =
- "The service refused the request as the given authorization token is unknown. You should request a valid access token from the account owner.",
+ "The service refused the request because the given authorization token is unknown. The client should request a valid access token from the account owner.",
.http_code = MHD_HTTP_UNAUTHORIZED
},
@@ -276,7 +276,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 42 */
.ec = TALER_EC_GENERIC_TOKEN_EXPIRED,
.hint =
- "The service refused the request as the given authorization token expired. You should request a fresh authorization token from the account owner.",
+ "The service refused the request because the given authorization token expired. The client should request a fresh authorization token from the account owner.",
.http_code = MHD_HTTP_UNAUTHORIZED
},
@@ -284,7 +284,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 43 */
.ec = TALER_EC_GENERIC_TOKEN_MALFORMED,
.hint =
- "The service refused the request as the given authorization token is invalid or malformed. You should check that you have the right credentials.",
+ "The service refused the request because the given authorization token is invalid or malformed. The client should check that it has the correct credentials.",
.http_code = MHD_HTTP_UNAUTHORIZED
},
@@ -292,7 +292,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 44 */
.ec = TALER_EC_GENERIC_FORBIDDEN,
.hint =
- "The service refused the request due to lack of proper rights on the resource. You may need different credentials to be allowed to perform this operation.",
+ "The service refused the request because the client lacks the required rights on the resource. The client may need different credentials to perform this operation.",
.http_code = MHD_HTTP_FORBIDDEN
},
@@ -300,7 +300,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 50 */
.ec = TALER_EC_GENERIC_DB_SETUP_FAILED,
.hint =
- "The service failed initialize its connection to the database. The system administrator should check that the service has permissions to access the database and that the database is running.",
+ "The service failed to initialize its connection to the database. The system administrator should check that the service has permission to access the database and that the database is running.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -308,7 +308,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 51 */
.ec = TALER_EC_GENERIC_DB_START_FAILED,
.hint =
- "The service encountered an error event to just start the database transaction. The system administrator should check that the database is running.",
+ "The service encountered an error while starting the database transaction. The system administrator should check that the database is running.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -340,7 +340,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 55 */
.ec = TALER_EC_GENERIC_DB_SOFT_FAILURE,
.hint =
- "The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. This indicates a repeated serialization error; it should only happen if some client maliciously tries to create conflicting concurrent transactions. It could also be a sign of a missing index. Check if you are using the latest available version and/or file a report with the developers.",
+ "The service encountered an error while committing the database transaction; despite repeated retries, a conflicting transaction persisted. This indicates a serialization error. It may be caused by conflicting concurrent transactions or a missing index. Check that the latest available version is being used and file a report with the developers if the problem persists.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -348,7 +348,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 56 */
.ec = TALER_EC_GENERIC_DB_INVARIANT_FAILURE,
.hint =
- "The service's database is inconsistent and violates service-internal invariants. Check if you are using the latest available version and/or file a report with the developers.",
+ "The service's database is inconsistent and violates service-internal invariants. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -356,7 +356,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 60 */
.ec = TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE,
.hint =
- "The HTTP server experienced an internal invariant failure (bug). Check if you are using the latest available version and/or file a report with the developers.",
+ "The HTTP server experienced an internal invariant failure (bug). Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -364,7 +364,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 61 */
.ec = TALER_EC_GENERIC_FAILED_COMPUTE_JSON_HASH,
.hint =
- "The service could not compute a cryptographic hash over some JSON value. Check if you are using the latest available version and/or file a report with the developers.",
+ "The service could not compute a cryptographic hash over a JSON value. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -372,7 +372,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 62 */
.ec = TALER_EC_GENERIC_FAILED_COMPUTE_AMOUNT,
.hint =
- "The service could not compute an amount. Check if you are using the latest available version and/or file a report with the developers.",
+ "The service could not compute an amount. Check whether the latest available version is in use or file a report with the developers.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -396,7 +396,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 72 */
.ec = TALER_EC_GENERIC_JSON_ALLOCATION_FAILURE,
.hint =
- "The HTTP server failed to allocate memory for building JSON reply. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Check with the system administrator to investigate.",
+ "The HTTP server failed to allocate memory for building a JSON response. Restarting services periodically can help, especially if Postgres is using excessive amounts of memory. Ask the system administrator to investigate.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -412,7 +412,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 74 */
.ec = TALER_EC_GENERIC_FAILED_TO_LOAD_TEMPLATE,
.hint =
- "The backend could not locate a required template to generate an HTML reply. The system administrator should check if the resource files are installed in the correct location and are readable to the service.",
+ "The backend could not locate a required template to generate an HTML response. The system administrator should check whether the resource files are installed in the correct location and readable by the service.",
.http_code = MHD_HTTP_NOT_ACCEPTABLE
},
@@ -420,7 +420,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 75 */
.ec = TALER_EC_GENERIC_FAILED_TO_EXPAND_TEMPLATE,
.hint =
- "The backend could not expand the template to generate an HTML reply. The system administrator should investigate the logs and check if the templates are well-formed.",
+ "The backend could not expand the template to generate an HTML response. The system administrator should investigate the logs and check whether the templates are well-formed.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -458,7 +458,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1001 */
.ec = TALER_EC_EXCHANGE_GENERIC_OPERATION_UNKNOWN,
- .hint = "Operation specified unknown for this endpoint.",
+ .hint = "The specified operation is unknown for this endpoint.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -482,7 +482,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1004 */
.ec = TALER_EC_EXCHANGE_GENERIC_COINS_INVALID_COIN_PUB,
.hint =
- "The public key of given to a \"/coins/\" endpoint of the exchange was malformed.",
+ "The public key given to the `/coins/` endpoint of the exchange was malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -520,7 +520,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1009 */
.ec = TALER_EC_EXCHANGE_GENERIC_DENOMINATION_EXPIRED,
.hint =
- "Denomination key of the coin is past its expiration time for the requested operation.",
+ "The denomination key of the coin has passed its expiration time for the requested operation.",
.http_code = MHD_HTTP_GONE
},
@@ -543,7 +543,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1012 */
.ec = TALER_EC_EXCHANGE_GENERIC_INSUFFICIENT_FUNDS,
.hint =
- "The respective coin did not have sufficient residual value for the operation. The \"history\" in this response provides the \"residual_value\" of the coin, which may be less than its \"original_value\".",
+ "The coin did not have sufficient residual value for the operation. The `history` in this response provides the coin's `residual_value`, which may be less than its `original_value`.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -657,7 +657,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1027 */
.ec = TALER_EC_EXCHANGE_GENERIC_RESERVE_UNKNOWN,
.hint =
- "The exchange has no information about the \"reserve_pub\" that was given.",
+ "The exchange has no information about the `reserve_pub` that was provided.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -674,7 +674,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
.ec =
TALER_EC_EXCHANGE_PURSE_DEPOSIT_COIN_CONFLICTING_ATTEST_VS_AGE_COMMITMENT,
.hint =
- "Inconsistency between provided age commitment and attest: either none or both must be provided",
+ "The provided age commitment and attestation are inconsistent: either both must be provided or neither may be provided.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -682,7 +682,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1030 */
.ec = TALER_EC_EXCHANGE_PURSE_DEPOSIT_COIN_AGE_ATTESTATION_FAILURE,
.hint =
- "The provided attestation for the minimum age couldn't be verified by the exchange.",
+ "The provided attestation for the minimum age could not be verified by the exchange.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -767,7 +767,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1041 */
.ec = TALER_EC_EXCHANGE_GENERIC_BANK_ACCOUNT_UNKNOWN,
.hint =
- "The exchange is not aware of the bank account (payto URI or hash thereof) specified in the request and thus cannot perform the requested operation. The client should check that the select account is correct.",
+ "The exchange is not aware of the bank account (payto URI or hash thereof) specified in the request and thus cannot perform the requested operation. The client should check that the selected account is correct.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -783,7 +783,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1043 */
.ec = TALER_EC_EXCHANGE_GENERIC_KYC_SANCTION_LIST_CHECK_FAILED,
.hint =
- "A check against sanction lists failed. This is indicative of an internal error in the sanction list processing logic. This needs to be investigated by the exchange operator.",
+ "A check against sanctions lists failed. This indicates an internal error in the sanctions-list processing logic. The exchange operator should investigate.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -854,15 +854,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1101 */
.ec = TALER_EC_EXCHANGE_DEPOSITS_GET_INVALID_H_WIRE,
- .hint = "The wire hash of given to a \"/deposits/\" handler was malformed.",
+ .hint = "The wire hash given to the `/deposits/` handler was malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
{
/* 1102 */
.ec = TALER_EC_EXCHANGE_DEPOSITS_GET_INVALID_MERCHANT_PUB,
- .hint =
- "The merchant key of given to a \"/deposits/\" handler was malformed.",
+ .hint = "The merchant key given to the `/deposits/` handler was malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -870,7 +869,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1103 */
.ec = TALER_EC_EXCHANGE_DEPOSITS_GET_INVALID_H_CONTRACT_TERMS,
.hint =
- "The hash of the contract terms given to a \"/deposits/\" handler was malformed.",
+ "The hash of the contract terms given to the `/deposits/` handler was malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -878,7 +877,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1104 */
.ec = TALER_EC_EXCHANGE_DEPOSITS_GET_INVALID_COIN_PUB,
.hint =
- "The coin public key of given to a \"/deposits/\" handler was malformed.",
+ "The coin public key given to the `/deposits/` handler was malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -886,7 +885,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1105 */
.ec = TALER_EC_EXCHANGE_DEPOSITS_GET_INVALID_SIGNATURE_BY_EXCHANGE,
.hint =
- "The signature returned by the exchange in a /deposits/ request was malformed.",
+ "The signature returned by the exchange in a `/deposits/` request was malformed.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -900,7 +899,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1107 */
.ec = TALER_EC_EXCHANGE_DEPOSITS_POLICY_NOT_ACCEPTED,
- .hint = "The provided policy data was not accepted",
+ .hint = "The provided policy data was not accepted.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -908,7 +907,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1150 */
.ec = TALER_EC_EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS,
.hint =
- "The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current \"balance\" of the reserve as well as the transaction \"history\" that lead to this balance.",
+ "The given reserve does not have sufficient funds to admit the requested withdrawal operation at this time. The response includes the current `balance` of the reserve and the transaction `history` that led to this balance.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -916,7 +915,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1151 */
.ec = TALER_EC_EXCHANGE_AGE_WITHDRAW_INSUFFICIENT_FUNDS,
.hint =
- "The given reserve does not have sufficient funds to admit the requested age-withdraw operation at this time. The response includes the current \"balance\" of the reserve as well as the transaction \"history\" that lead to this balance.",
+ "The given reserve does not have sufficient funds to admit the requested age-withdrawal operation at this time. The response includes the current `balance` of the reserve and the transaction `history` that led to this balance.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -947,7 +946,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1155 */
.ec = TALER_EC_EXCHANGE_RESERVE_HISTORY_ERROR_INSUFFICIENT_FUNDS,
.hint =
- "When computing the reserve history, we ended up with a negative overall balance, which should be impossible.",
+ "Computing the reserve history resulted in a negative overall balance, which should be impossible.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -1006,14 +1005,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1164 */
.ec = TALER_EC_EXCHANGE_WITHDRAW_REVEAL_INVALID_HASH,
- .hint = "The original commitment differs from the calculated hash",
+ .hint = "The original commitment differs from the calculated hash.",
.http_code = MHD_HTTP_BAD_REQUEST
},
{
/* 1165 */
.ec = TALER_EC_EXCHANGE_WITHDRAW_MAXIMUM_AGE_TOO_LARGE,
- .hint = "The maximum age in the commitment is too large for the reserve",
+ .hint = "The maximum age in the commitment is too large for the reserve.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -1059,7 +1058,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1209 */
.ec = TALER_EC_EXCHANGE_DEPOSIT_WIRE_DEADLINE_IS_NEVER,
- .hint = "The stated wire deadline is \"never\", which makes no sense.",
+ .hint = "The stated wire deadline is `never`, which is not allowed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -1067,7 +1066,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1210 */
.ec = TALER_EC_EXCHANGE_DEPOSIT_INVALID_WIRE_FORMAT_JSON,
.hint =
- "The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the \"salt\" or a valid payto:// URI in the wire details. Note that while the exchange will do some basic sanity checking on the wire details, it cannot warrant that the banking system will ultimately be able to route to the specified address, even if this check passed.",
+ "The exchange failed to canonicalize and hash the given wire format. For example, the merchant failed to provide the `salt` or a valid `payto://` URI in the wire details. Note that the exchange performs only basic sanity checking on the wire details; it cannot guarantee that the banking system can route funds to the specified address, even if this check succeeds.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -1134,7 +1133,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1305 */
.ec = TALER_EC_EXCHANGE_MELT_COIN_EXPIRED_NO_ZOMBIE,
.hint =
- "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).",
+ "The denomination of the given coin has passed its expiration date and is not a valid zombie (that is, it was not refreshed with the fresh coin being subjected to recoup).",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -1213,14 +1212,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1362 */
.ec = TALER_EC_EXCHANGE_REFRESHES_REVEAL_INVALID_RCH,
.hint =
- "The refresh session hash given to a /refreshes/ handler was malformed.",
+ "The refresh session hash given to the `/refreshes/` handler was malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
{
/* 1363 */
.ec = TALER_EC_EXCHANGE_REFRESHES_REVEAL_OPERATION_INVALID,
- .hint = "Operation specified invalid for this endpoint.",
+ .hint = "The specified operation is invalid for this endpoint.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -1251,7 +1250,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1450 */
.ec = TALER_EC_EXCHANGE_TRANSFERS_GET_WTID_MALFORMED,
- .hint = "The public key of given to a /transfers/ handler was malformed.",
+ .hint = "The public key given to the `/transfers/` handler was malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -1298,7 +1297,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1500 */
.ec = TALER_EC_EXCHANGE_REFUND_COIN_NOT_FOUND,
.hint =
- "The exchange knows literally nothing about the coin we were asked to refund. But without a transaction history, we cannot issue a refund. This is kind-of OK, the owner should just refresh it directly without executing the refund.",
+ "The exchange has no information about the coin to be refunded. Without a transaction history, it cannot issue a refund. This is acceptable; the owner should refresh the coin directly without executing the refund.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -1306,7 +1305,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1501 */
.ec = TALER_EC_EXCHANGE_REFUND_CONFLICT_DEPOSIT_INSUFFICIENT,
.hint =
- "We could not process the refund request as the coin's transaction history does not permit the requested refund because then refunds would exceed the deposit amount. The \"history\" in the response proves this.",
+ "The refund request could not be processed because the coin's transaction history does not permit it: the refunds would exceed the deposit amount. The `history` in the response demonstrates this.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -1314,7 +1313,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1502 */
.ec = TALER_EC_EXCHANGE_REFUND_DEPOSIT_NOT_FOUND,
.hint =
- "The exchange knows about the coin we were asked to refund, but not about the specific /deposit operation. Hence, we cannot issue a refund (as we do not know if this merchant public key is authorized to do a refund).",
+ "The exchange knows about the coin to be refunded, but not about the specific `/deposit` operation. Therefore, it cannot issue a refund because it does not know whether this merchant public key is authorized to issue one.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -1322,7 +1321,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1503 */
.ec = TALER_EC_EXCHANGE_REFUND_MERCHANT_ALREADY_PAID,
.hint =
- "The exchange can no longer refund the customer/coin as the money was already transferred (paid out) to the merchant. (It should be past the refund deadline.)",
+ "The exchange can no longer refund the customer or coin because the money was already transferred to the merchant. The refund deadline has passed.",
.http_code = MHD_HTTP_GONE
},
@@ -1456,7 +1455,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1600 */
.ec = TALER_EC_EXCHANGE_KEYS_TIMETRAVEL_FORBIDDEN,
.hint =
- "This exchange does not allow clients to request /keys for times other than the current (exchange) time.",
+ "This exchange does not allow clients to request `/keys` for times other than the current exchange time.",
.http_code = MHD_HTTP_FORBIDDEN
},
@@ -1471,7 +1470,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1651 */
.ec = TALER_EC_EXCHANGE_WIRE_NO_ACCOUNTS_CONFIGURED,
.hint =
- "No bank accounts are enabled for the exchange. The administrator should enable-account using the taler-exchange-offline tool.",
+ "No bank accounts are enabled for the exchange. The administrator should enable an account using the `taler-exchange-offline` tool.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -1494,14 +1493,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1675 */
.ec = TALER_EC_EXCHANGE_RESERVES_PURSE_CREATE_CONFLICTING_META_DATA,
- .hint = "This purse was previously created with different meta data.",
+ .hint = "This purse was previously created with different metadata.",
.http_code = MHD_HTTP_CONFLICT
},
{
/* 1676 */
.ec = TALER_EC_EXCHANGE_RESERVES_PURSE_MERGE_CONFLICTING_META_DATA,
- .hint = "This purse was previously merged with different meta data.",
+ .hint = "This purse was previously merged with different metadata.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -1569,7 +1568,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1725 */
.ec = TALER_EC_EXCHANGE_PURSE_DEPOSIT_EXCHANGE_SIGNATURE_INVALID,
- .hint = "The signature of the exchange on the reply was invalid.",
+ .hint = "The exchange's signature on the response was invalid.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -1654,7 +1653,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1787 */
.ec = TALER_EC_EXCHANGE_RESERVES_ATTEST_BAD_SIGNATURE,
.hint =
- "The signature by the reserve affirming the attestion request is invalid.",
+ "The signature by the reserve affirming the attestation request is invalid.",
.http_code = MHD_HTTP_FORBIDDEN
},
@@ -1847,7 +1846,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1828 */
.ec = TALER_EC_EXCHANGE_AML_DECISION_UNKNOWN_CHECK,
.hint =
- "There AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange.",
+ "The AML decision would impose an AML check of a type that is not provided by any KYC provider known to the exchange.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -1871,7 +1870,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1832 */
.ec = TALER_EC_EXCHANGE_MANAGEMENT_CONFLICTING_DENOMINATION_META_DATA,
.hint =
- "The exchange already has this denomination key configured, but with different meta data. This should not be possible, contact the developers for support.",
+ "The exchange already has this denomination key configured, but with different metadata. This should not be possible; contact the developers for support.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -1879,14 +1878,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1833 */
.ec = TALER_EC_EXCHANGE_MANAGEMENT_CONFLICTING_SIGNKEY_META_DATA,
.hint =
- "The exchange already has this signing key configured, but with different meta data. This should not be possible, contact the developers for support.",
+ "The exchange already has this signing key configured, but with different metadata. This should not be possible; contact the developers for support.",
.http_code = MHD_HTTP_CONFLICT
},
{
/* 1850 */
.ec = TALER_EC_EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA,
- .hint = "The purse was previously created with different meta data.",
+ .hint = "The purse was previously created with different metadata.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -1914,14 +1913,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1854 */
.ec = TALER_EC_EXCHANGE_PURSE_CREATE_EXPIRATION_IS_NEVER,
- .hint = "The purse expiration time is \"never\".",
+ .hint = "The purse expiration time is `never`.",
.http_code = MHD_HTTP_BAD_REQUEST
},
{
/* 1855 */
.ec = TALER_EC_EXCHANGE_PURSE_CREATE_SIGNATURE_INVALID,
- .hint = "The purse signature over the purse meta data is invalid.",
+ .hint = "The purse signature over the purse metadata is invalid.",
.http_code = MHD_HTTP_FORBIDDEN
},
@@ -1942,7 +1941,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1858 */
.ec = TALER_EC_EXCHANGE_PURSE_DEPOSIT_CONFLICTING_META_DATA,
- .hint = "The coin was previously deposited with different meta data.",
+ .hint = "The coin was previously deposited with different metadata.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -1950,7 +1949,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1859 */
.ec = TALER_EC_EXCHANGE_PURSE_ECONTRACT_CONFLICTING_META_DATA,
.hint =
- "The encrypted contract was previously uploaded with different meta data.",
+ "The encrypted contract was previously uploaded with different metadata.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -2016,7 +2015,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1900 */
.ec = TALER_EC_EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID,
- .hint = "The auditor signature over the denomination meta data is invalid.",
+ .hint = "The auditor signature over the denomination metadata is invalid.",
.http_code = MHD_HTTP_FORBIDDEN
},
@@ -2063,7 +2062,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1920 */
.ec = TALER_EC_EXCHANGE_KYC_RECURSIVE_RULE_DETECTED,
.hint =
- "The exchange got stuck in a long series of (likely recursive) KYC rules without user-inputs that did not result in a timely conclusion. This is a configuration failure. Please contact the administrator.",
+ "The exchange got stuck in a long series of likely recursive KYC rules without user input, preventing a timely conclusion. This is a configuration failure. The administrator should investigate.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -2131,8 +2130,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 1929 */
.ec = TALER_EC_EXCHANGE_KYC_PROOF_REQUEST_UNKNOWN,
- .hint =
- "The exchange is unaware of having made an the authorization request.",
+ .hint = "The exchange is unaware of having made the authorization request.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -2228,7 +2226,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 1941 */
.ec = TALER_EC_EXCHANGE_KYC_FORM_ALREADY_UPLOADED,
.hint =
- "The form has been previously uploaded, and may only be filed once. The user should be redirected to their main KYC page and see if any other steps need to be taken.",
+ "The form was previously uploaded and may only be submitted once. The user should be redirected to the main KYC page to determine whether further steps are required.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -2381,7 +2379,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2002 */
.ec = TALER_EC_MERCHANT_GENERIC_EXCHANGE_MASTER_KEY_MISMATCH,
.hint =
- "The master key of the exchange does not match the one configured for this merchant. As a result, we refuse to do business with this exchange. The administrator should check if they configured the exchange correctly in the merchant backend.",
+ "The master key of the exchange does not match the one configured for this merchant. As a result, the merchant refuses to do business with this exchange. The administrator should check whether the exchange is configured correctly in the merchant backend.",
.http_code = MHD_HTTP_BAD_GATEWAY
},
@@ -2410,7 +2408,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2006 */
.ec = TALER_EC_MERCHANT_GENERIC_PRODUCT_UNKNOWN,
.hint =
- "The order provided to the backend could not be completed, because a product to be completed via inventory data is not actually in our inventory.",
+ "The order provided to the backend could not be completed because a product specified through inventory data is not in the inventory.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -2461,7 +2459,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 2013 */
.ec = TALER_EC_MERCHANT_GENERIC_EXCHANGE_REPLY_MALFORMED,
- .hint = "The exchange returned a maformed response.",
+ .hint = "The exchange returned a malformed response.",
.http_code = MHD_HTTP_BAD_GATEWAY
},
@@ -2498,7 +2496,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2018 */
.ec = TALER_EC_MERCHANT_GENERIC_TEMPLATE_UNKNOWN,
.hint =
- "The backend could not find the template(id) because it is not exist.",
+ "The backend could not find the template with the specified ID because it does not exist.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -2506,7 +2504,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2019 */
.ec = TALER_EC_MERCHANT_GENERIC_WEBHOOK_UNKNOWN,
.hint =
- "The backend could not find the webhook(id) because it is not exist.",
+ "The backend could not find the webhook with the specified ID because it does not exist.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -2514,7 +2512,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2020 */
.ec = TALER_EC_MERCHANT_GENERIC_PENDING_WEBHOOK_UNKNOWN,
.hint =
- "The backend could not find the webhook(serial) because it is not exist.",
+ "The backend could not find the webhook with the specified serial because it does not exist.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -2522,7 +2520,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2021 */
.ec = TALER_EC_MERCHANT_GENERIC_OTP_DEVICE_UNKNOWN,
.hint =
- "The backend could not find the OTP device(id) because it is not exist.",
+ "The backend could not find the OTP device with the specified ID because it does not exist.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -2598,7 +2596,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2031 */
.ec = TALER_EC_MERCHANT_GENERIC_MFA_MISSING,
.hint =
- "This operation requires multi-factor authorization and the respective instance does not have a sufficient number of factors that could be validated configured. You need to ask the system administrator to perform this operation.",
+ "This operation requires multi-factor authorization, but the instance does not have enough configured factors that can be validated. The system administrator must perform this operation.",
.http_code = MHD_HTTP_FORBIDDEN
},
@@ -2614,7 +2612,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2033 */
.ec = TALER_EC_MERCHANT_GENERIC_UNIT_BUILTIN,
.hint =
- "The unit referenced in the request is builtin and cannot be modified or deleted.",
+ "The unit referenced in the request is built-in and cannot be modified or deleted.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -2670,7 +2668,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2040 */
.ec = TALER_EC_MERCHANT_GENERIC_EXPECTED_TRANSFER_UNKNOWN,
.hint =
- "The merchant does not expect any transfer with the given ID and can thus not return any details about it.",
+ "The merchant does not expect a transfer with the given ID and therefore cannot return any details about it.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -2689,6 +2687,13 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2043 */
+ .ec = TALER_EC_MERCHANT_GENERIC_FOUNTAIN_UNKNOWN,
+ .hint = "The fountain is not known to the backend.",
+ .http_code = MHD_HTTP_NOT_FOUND
+ },
+
+ {
/* 2048 */
.ec = TALER_EC_MERCHANT_GENERIC_NO_TYPST_OR_PDFTK,
.hint =
@@ -2778,7 +2783,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2129 */
.ec = TALER_EC_MERCHANT_TAN_CHALLENGE_SOLVED,
.hint =
- "The challenge was already solved. Thus, we refuse to send it again.",
+ "The challenge was already solved. Therefore, the service refuses to send it again.",
.http_code = MHD_HTTP_GONE
},
@@ -2873,7 +2878,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2156 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_PAYMENT_INSUFFICIENT,
.hint =
- "Even if we do not consider deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract.",
+ "Even without considering deposit and wire fees, the payment is insufficient to satisfy the required amount for the contract.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -2888,7 +2893,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2158 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_LOOKUP_FAILED,
.hint =
- "When we tried to find information about the exchange to issue the deposit, we failed. This usually only happens if the merchant backend is somehow unable to get its own HTTP client logic to work.",
+ "The merchant backend failed to find information about the exchange to issue the deposit. This usually happens when the merchant backend's HTTP client logic is not working.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -2919,7 +2924,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2162 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_MERCHANT_FIELD_MISSING,
.hint =
- "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.",
+ "The `merchant` field is missing from the proposal data. This is an internal error because the proposal comes from the merchant's own database at this point.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -2940,8 +2945,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 2166 */
- .ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_WIRE_FEE_ADDITION_FAILED
- ,
+ .ec =
+ TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_WIRE_FEE_ADDITION_FAILED,
.hint =
"The exchange of the deposited coin charges a wire fee that could not be added to the total (total amount too high).",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
@@ -2951,7 +2956,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2167 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_REFUNDED,
.hint =
- "The contract was not fully paid because of refunds. Note that clients MAY treat this as paid if, for example, contracts must be executed despite of refunds.",
+ "The contract was not fully paid because of refunds. Clients may treat it as paid if, for example, the contract must be executed despite refunds.",
.http_code = MHD_HTTP_PAYMENT_REQUIRED
},
@@ -2959,7 +2964,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2168 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_REFUNDS_EXCEED_PAYMENTS,
.hint =
- "According to our database, we have refunded more than we were paid (which should not be possible).",
+ "The database indicates that more was refunded than was paid, which should not be possible.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -2998,7 +3003,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2173 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_AGE_VERIFICATION_FAILED,
.hint =
- "The payment required a minimum age but one of the coins provided a minimum_age_sig that couldn't be verified with the given age_commitment for that particular minimum age.",
+ "The payment required a minimum age, but one of the coins provided a `minimum_age_sig` that could not be verified with the given `age_commitment` for that minimum age.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -3085,7 +3090,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
.ec =
TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_TRANSACTION_LIMIT_VIOLATION,
.hint =
- "The payment violates a transaction limit configured at the given exchange. The wallet has a bug in that it failed to check exchange limits during coin selection. Please report the bug to your wallet developer.",
+ "The payment violates a transaction limit configured at the given exchange. The wallet failed to check exchange limits during coin selection. The wallet developer should investigate.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -3109,7 +3114,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2187 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_CHOICE_INDEX_MISMATCH,
.hint =
- "The order was already paid, but completing a different choice than the one given in this request. The client should use the choice the order was actually paid with.",
+ "The order was already paid, but the request specified a different choice. The client should use the choice with which the order was actually paid.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3165,8 +3170,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 2254 */
- .ec = TALER_EC_MERCHANT_POST_ORDERS_ID_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE
- ,
+ .ec =
+ TALER_EC_MERCHANT_POST_ORDERS_ID_ABORT_REFUND_REFUSED_PAYMENT_COMPLETE,
.hint =
"The payment was already completed and thus cannot be aborted anymore.",
.http_code = MHD_HTTP_PRECONDITION_FAILED
@@ -3190,7 +3195,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2258 */
.ec = TALER_EC_MERCHANT_EXCHANGE_TRANSFERS_AWAITING_KEYS,
.hint =
- "We are waiting for the exchange to provide us with key material before checking the wire transfer.",
+ "The merchant is waiting for the exchange to provide key material before checking the wire transfer.",
.http_code = MHD_HTTP_ACCEPTED
},
@@ -3198,7 +3203,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2259 */
.ec = TALER_EC_MERCHANT_EXCHANGE_TRANSFERS_AWAITING_LIST,
.hint =
- "We are waiting for the exchange to provide us with the list of aggregated transactions.",
+ "The merchant is waiting for the exchange to provide the list of aggregated transactions.",
.http_code = MHD_HTTP_ACCEPTED
},
@@ -3230,7 +3235,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2263 */
.ec = TALER_EC_MERCHANT_EXCHANGE_TRANSFERS_TRANSIENT_FAILURE,
.hint =
- "We experienced a transient failure in our interaction with the exchange.",
+ "The merchant experienced a transient failure while interacting with the exchange.",
.http_code = MHD_HTTP_ACCEPTED
},
@@ -3270,7 +3275,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2300 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_CLAIM_NOT_FOUND,
.hint =
- "We could not claim the order because the backend is unaware of it.",
+ "The order could not be claimed because the backend is unaware of it.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -3278,14 +3283,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2301 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_CLAIM_ALREADY_CLAIMED,
.hint =
- "We could not claim the order because someone else claimed it first.",
+ "The order could not be claimed because another client claimed it first.",
.http_code = MHD_HTTP_CONFLICT
},
{
/* 2302 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_CLAIM_CLIENT_INTERNAL_FAILURE,
- .hint = "The client-side experienced an internal failure.",
+ .hint = "The client experienced an internal failure.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -3403,7 +3408,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2506 */
.ec = TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER,
.hint =
- "The order creation request is invalid because a wire deadline of \"never\" is not allowed.",
+ "The order creation request is invalid because a wire deadline of `never` is not allowed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -3427,14 +3432,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2509 */
.ec = TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_NO_EXCHANGES_FOR_WIRE_METHOD,
.hint =
- "The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the wire method specified with the order. (Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion.) One likely cause for this is that the taler-merchant-exchangekeyupdate process is not running.",
+ "The backend does not trust any exchange that would allow funds to be wired to a bank account of this instance using the wire method specified with the order. Exchange bank accounts with mandatory currency conversion are not currently supported. A likely cause is that the `taler-merchant-exchangekeyupdate` process is not running.",
.http_code = MHD_HTTP_CONFLICT
},
{
/* 2510 */
- .ec = TALER_EC_MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT
- ,
+ .ec =
+ TALER_EC_MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT,
.hint = "One of the paths to forget is malformed.",
.http_code = MHD_HTTP_BAD_REQUEST
},
@@ -3451,7 +3456,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
.ec =
TALER_EC_MERCHANT_POST_ORDERS_ID_REFUND_EXCHANGE_TRANSACTION_LIMIT_VIOLATION,
.hint =
- "The refund amount would violate a refund transaction limit configured at the given exchange. Please find another way to refund the customer, and inquire with your legislator why they make strange banking regulations.",
+ "The refund amount would violate a refund transaction limit configured at the given exchange. The merchant should use another way to refund the customer and consult the exchange operator about the applicable regulations.",
.http_code = MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS
},
@@ -3459,7 +3464,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2513 */
.ec = TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_AMOUNT_EXCEEDS_LEGAL_LIMITS,
.hint =
- "The total order amount exceeds hard legal transaction limits from the available exchanges, thus a customer could never legally make this payment. You may try to increase your limits by passing legitimization checks with exchange operators. You could also inquire with your legislator why the limits are prohibitively low for your business.",
+ "The total order amount exceeds the legal transaction limits of the available exchanges, so a customer could not legally make this payment. The merchant may increase its limits by completing legitimization checks with exchange operators.",
.http_code = MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS
},
@@ -3467,7 +3472,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2514 */
.ec = TALER_EC_MERCHANT_PRIVATE_POST_ORDERS_NO_EXCHANGE_FOR_CURRENCY,
.hint =
- "A currency specified to be paid in the contract is not supported by any exchange that this instance can currently use. Possible solutions include (1) specifying a different currency, (2) adding additional suitable exchange operators to the merchant backend configuration, or (3) satisfying compliance rules of an configured exchange to begin using the service of that provider.",
+ "A currency specified to be paid in the contract is not supported by any exchange that this instance can currently use. Possible solutions include (1) specifying a different currency, (2) adding suitable exchange operators to the merchant backend configuration, or (3) satisfying the compliance rules of a configured exchange to begin using that provider's service.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3475,7 +3480,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2520 */
.ec = TALER_EC_MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT,
.hint =
- "The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid.",
+ "The order provided to the backend could not be deleted because the offer is still valid and awaiting payment. Deletion may work after the offer expires if it remains unpaid.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3589,7 +3594,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 2551 */
.ec = TALER_EC_MERCHANT_PRIVATE_POST_TRANSFERS_REQUEST_ERROR,
- .hint = "We internally failed to execute the /track/transfer request.",
+ .hint =
+ "The backend failed to execute the `/track/transfer` request internally.",
.http_code = MHD_HTTP_BAD_GATEWAY
},
@@ -3620,7 +3626,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 2555 */
.ec = TALER_EC_MERCHANT_PRIVATE_POST_TRANSFERS_ACCOUNT_NOT_FOUND,
- .hint = "We did not find the account that the transfer was made to.",
+ .hint =
+ "The backend did not find the account to which the transfer was made.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -3628,7 +3635,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2556 */
.ec = TALER_EC_MERCHANT_PRIVATE_DELETE_TRANSFERS_ALREADY_CONFIRMED,
.hint =
- "The backend could not delete the transfer as the echange already replied to our inquiry about it and we have integrated the result.",
+ "The backend could not delete the transfer because the exchange already responded to the inquiry and the result was integrated.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3739,7 +3746,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2628 */
.ec = TALER_EC_MERCHANT_PRIVATE_ACCOUNT_NOT_ELIGIBLE_FOR_EXCHANGE,
.hint =
- "The bank account specified is not acceptable for this exchange. The exchange either does not support the wire method or something else about the specific account. Consult the exchange account constraints and specify a different bank account if you want to use this exchange.",
+ "The bank account specified is not acceptable for this exchange. The exchange either does not support the wire method or does not support another property of the account. Check the exchange account constraints and specify a different bank account if necessary.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3801,7 +3808,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2680 */
.ec = TALER_EC_MERCHANT_PRIVATE_DELETE_PRODUCTS_CONFLICTING_LOCK,
.hint =
- "The deletion request is for a product that is locked. The product cannot be deleted until the existing offer to expires.",
+ "The deletion request is for a locked product. The product cannot be deleted until the existing offer expires.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3809,7 +3816,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2690 */
.ec = TALER_EC_MERCHANT_PRIVATE_PRODUCT_GROUP_CONFLICTING_NAME,
.hint =
- "The proposed name for the product group is already in use. You should select a different name.",
+ "The proposed name for the product group is already in use. The client should select a different name.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3817,7 +3824,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2691 */
.ec = TALER_EC_MERCHANT_PRIVATE_MONEY_POT_CONFLICTING_NAME,
.hint =
- "The proposed name for the money pot is already in use. You should select a different name.",
+ "The proposed name for the money pot is already in use. The client should select a different name.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3941,7 +3948,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2864 */
.ec = TALER_EC_MERCHANT_POST_USING_TEMPLATES_WRONG_TYPE,
.hint =
- "The selected template has a different type than the one specified in the request of the client. This may happen if the template was updated since the last time the client fetched it. The client should re-fetch the current template and send a request of the correct type.",
+ "The selected template has a different type from the one specified in the client request. This may happen if the template was updated since the client last fetched it. The client should refetch the current template and send a request with the correct type.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3949,7 +3956,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 2865 */
.ec = TALER_EC_MERCHANT_POST_USING_TEMPLATES_WRONG_PRODUCT,
.hint =
- "The selected template does not allow one of the specified products to be included in the order. This may happen if the template was updated since the last time the client fetched it. The client should re-fetch the current template and send a request of the correct type.",
+ "The selected template does not allow one of the specified products to be included in the order. This may happen if the template was updated since the client last fetched it. The client should refetch the current template and send a request with the correct type.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -3977,6 +3984,30 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2950 */
+ .ec = TALER_EC_MERCHANT_POST_FOUNTAIN_WITHDRAW_GRANT_UNKNOWN,
+ .hint =
+ "A withdrawal entry refers to a token family without a matching grant in the fountain.",
+ .http_code = MHD_HTTP_CONFLICT
+ },
+
+ {
+ /* 2951 */
+ .ec = TALER_EC_MERCHANT_POST_FOUNTAIN_WITHDRAW_SLOT_OUTSIDE_WINDOW,
+ .hint =
+ "The desired token validity time selects an issue key slot outside of the grant's key window.",
+ .http_code = MHD_HTTP_CONFLICT
+ },
+
+ {
+ /* 2952 */
+ .ec = TALER_EC_MERCHANT_POST_FOUNTAIN_WITHDRAW_LIMIT_EXCEEDED,
+ .hint =
+ "The grant's per-period withdrawal limit is exhausted for the requested issue key slot.",
+ .http_code = MHD_HTTP_TOO_MANY_REQUESTS
+ },
+
+ {
/* 3001 */
.ec = TALER_EC_AUDITOR_GENERIC_UNAUTHORIZED,
.hint =
@@ -4297,7 +4328,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 5137 */
.ec = TALER_EC_BANK_NON_ADMIN_PATCH_MISSING_OLD_PASSWORD,
.hint =
- "A non-admin user has tried to change their password whihout providing the current one.",
+ "A non-admin user tried to change their password without providing the current password.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -4333,7 +4364,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 5142 */
.ec = TALER_EC_BANK_ADMIN_CREDITOR,
.hint =
- "The client tried to create a transaction that credit the admin account.",
+ "The client tried to create a transaction that credits the administrator's account.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -4368,7 +4399,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 5147 */
.ec = TALER_EC_BANK_CONVERSION_AMOUNT_TO_SMALL,
- .hint = "Amount of currency conversion it less than the minimum allowed.",
+ .hint =
+ "The amount of the currency conversion is less than the minimum allowed.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -4404,7 +4436,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 5152 */
.ec = TALER_EC_BANK_ACCOUNT_LOCKED,
.hint =
- "Bank account is locked and cannot authenticate using his password.",
+ "The bank account is locked, and the user cannot authenticate with their password.",
.http_code = MHD_HTTP_FORBIDDEN
},
@@ -4412,7 +4444,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 5153 */
.ec = TALER_EC_BANK_UPDATE_ABORT_CONFLICT,
.hint =
- "The client attempted to update a transaction' details that was already aborted.",
+ "The client attempted to update the details of a transaction that was already aborted.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -4427,14 +4459,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 5155 */
.ec = TALER_EC_BANK_NON_ADMIN_SET_CONVERSION_RATE_CLASS,
- .hint = "A non-admin user has tried to set their conversion rate class",
+ .hint = "A non-admin user tried to set their conversion rate class.",
.http_code = MHD_HTTP_CONFLICT
},
{
/* 5156 */
.ec = TALER_EC_BANK_CONVERSION_RATE_CLASS_UNKNOWN,
- .hint = "The referenced conversion rate class was not found",
+ .hint = "The referenced conversion rate class was not found.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -4477,7 +4509,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 5162 */
.ec = TALER_EC_BANK_TRANSFER_MAPPING_REUSED,
.hint =
- "The authorization_pub for a request to transfer funds has already been used for another non recurrent transfer.",
+ "The `authorization_pub` for a request to transfer funds has already been used for another non-recurring transfer.",
.http_code = MHD_HTTP_CONFLICT
},
@@ -4492,7 +4524,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 6100 */
.ec = TALER_EC_SYNC_ACCOUNT_UNKNOWN,
- .hint = "The sync service failed find the account in its database.",
+ .hint = "The sync service failed to find the account in its database.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -4569,7 +4601,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 6110 */
.ec = TALER_EC_SYNC_PAYMENT_CREATE_BACKEND_ERROR,
- .hint = "Sync could not setup the payment request with its own backend.",
+ .hint =
+ "The sync service could not set up the payment request with its own backend.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -4577,7 +4610,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 6111 */
.ec = TALER_EC_SYNC_PREVIOUS_BACKUP_UNKNOWN,
.hint =
- "The sync service failed find the backup to be updated in its database.",
+ "The sync service failed to find the backup to be updated in its database.",
.http_code = MHD_HTTP_NOT_FOUND
},
@@ -4639,7 +4672,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 7002 */
.ec = TALER_EC_WALLET_RECEIVED_MALFORMED_RESPONSE,
.hint =
- "The wallet received a response from a server, but the response can't be parsed.",
+ "The wallet received a response from a server, but the response cannot be parsed.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -4707,7 +4740,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 7012 */
.ec = TALER_EC_WALLET_WITHDRAWAL_OPERATION_ABORTED_BY_BANK,
.hint =
- "The bank has aborted a withdrawal operation, and thus a withdrawal can't complete.",
+ "The bank aborted a withdrawal operation, so the withdrawal cannot complete.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -4774,8 +4807,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 7021 */
.ec = TALER_EC_WALLET_PENDING_OPERATION_FAILED,
- .hint =
- "A pending operation failed, and thus the request can't be completed.",
+ .hint = "A pending operation failed, so the request cannot be completed.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -4867,7 +4899,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 7033 */
.ec = TALER_EC_WALLET_EXCHANGE_ENTRY_USED,
.hint =
- "An exchange entry is still used by the exchange, thus it can't be deleted without purging.",
+ "An exchange entry is still used by the exchange, so it cannot be deleted without purging.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -4882,7 +4914,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 7035 */
.ec = TALER_EC_WALLET_TALER_URI_MALFORMED,
- .hint = "A taler:// URI is malformed and can't be parsed.",
+ .hint = "A `taler://` URI is malformed and cannot be parsed.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -4890,7 +4922,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 7036 */
.ec = TALER_EC_WALLET_CORE_REQUEST_CANCELLED,
.hint =
- "A wallet-core request was cancelled and thus can't provide a response.",
+ "A wallet-core request was cancelled and therefore cannot provide a response.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -5141,9 +5173,17 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 7069 */
+ .ec = TALER_EC_WALLET_PEER_PUSH_PAYMENT_QUOTE_CHANGED,
+ .hint =
+ "The values of a reviewed peer push payment changed before confirmation. The caller must prepare and show the payment again.",
+ .http_code = MHD_HTTP_UNINITIALIZED
+ },
+
+ {
/* 8000 */
.ec = TALER_EC_ANASTASIS_GENERIC_BACKEND_TIMEOUT,
- .hint = "We encountered a timeout with our payment backend.",
+ .hint = "The service encountered a timeout with its payment backend.",
.http_code = MHD_HTTP_GATEWAY_TIMEOUT
},
@@ -5157,7 +5197,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 8002 */
.ec = TALER_EC_ANASTASIS_GENERIC_BACKEND_ERROR,
- .hint = "The backend got an unexpected reply from the payment processor.",
+ .hint =
+ "The backend received an unexpected response from the payment processor.",
.http_code = MHD_HTTP_BAD_GATEWAY
},
@@ -5268,7 +5309,8 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 8116 */
.ec = TALER_EC_ANASTASIS_TRUTH_ORDER_DISAPPEARED,
- .hint = "The backend forgot the order we asked the client to pay for",
+ .hint =
+ "The backend no longer knows about the order that the client was asked to pay for.",
.http_code = MHD_HTTP_BAD_GATEWAY
},
@@ -5282,7 +5324,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 8118 */
.ec = TALER_EC_ANASTASIS_TRUTH_UNEXPECTED_PAYMENT_STATUS,
- .hint = "The backend reported a payment status we did not expect.",
+ .hint = "The backend reported an unexpected payment status.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -5364,7 +5406,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 8211 */
.ec = TALER_EC_ANASTASIS_EMAIL_HELPER_EXEC_FAILED,
- .hint = "Failed to run the E-mail transmission helper process.",
+ .hint = "Failed to run the email transmission helper process.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -5372,7 +5414,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 8212 */
.ec = TALER_EC_ANASTASIS_EMAIL_HELPER_COMMAND_FAILED,
.hint =
- "Provider failed to send E-mail. Helper terminated with a non-successful result.",
+ "The provider failed to send email. The helper terminated with a non-successful result.",
.http_code = MHD_HTTP_INTERNAL_SERVER_ERROR
},
@@ -5528,14 +5570,15 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 8405 */
.ec = TALER_EC_ANASTASIS_REDUCER_BACKEND_FAILURE,
.hint =
- "We experienced an unexpected failure interacting with the backend.",
+ "The service experienced an unexpected failure while interacting with the backend.",
.http_code = MHD_HTTP_UNINITIALIZED
},
{
/* 8406 */
.ec = TALER_EC_ANASTASIS_REDUCER_RESOURCE_MALFORMED,
- .hint = "The contents of a resource file did not match our expectations.",
+ .hint =
+ "The contents of a resource file did not match the expected format.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -5564,7 +5607,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 8410 */
.ec = TALER_EC_ANASTASIS_REDUCER_POLICY_LOOKUP_FAILED,
.hint =
- "Our attempts to download the recovery document failed with all providers. Most likely the personal information you entered differs from the information you provided during the backup process and you should go back to the previous step. Alternatively, if you used a backup provider that is unknown to this application, you should add that provider manually.",
+ "Attempts to download the recovery document failed with all providers. The personal information may differ from the information provided during the backup process. Alternatively, the backup may use a provider that is unknown to this application and must be added manually.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -5587,14 +5630,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 8413 */
.ec = TALER_EC_ANASTASIS_REDUCER_POLICY_MALFORMED,
.hint =
- "The policy we downloaded is malformed. Must have been a client error while creating the backup.",
+ "The downloaded policy is malformed. This was likely caused by a client error while creating the backup.",
.http_code = MHD_HTTP_UNINITIALIZED
},
{
/* 8414 */
.ec = TALER_EC_ANASTASIS_REDUCER_NETWORK_FAILED,
- .hint = "We failed to obtain the policy, likely due to a network issue.",
+ .hint = "The policy could not be obtained, likely due to a network issue.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -5623,7 +5666,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
{
/* 8418 */
.ec = TALER_EC_ANASTASIS_REDUCER_PROVIDER_INVALID_CONFIG,
- .hint = "The provider returned in invalid configuration.",
+ .hint = "The provider returned an invalid configuration.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -5769,7 +5812,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 9000 */
.ec = TALER_EC_LIBEUFIN_NEXUS_GENERIC_ERROR,
.hint =
- "A generic error happened in the LibEuFin nexus. See the enclose details JSON for more information.",
+ "A generic error occurred in the LibEuFin nexus. See the enclosed details JSON for more information.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -5784,7 +5827,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 9500 */
.ec = TALER_EC_LIBEUFIN_SANDBOX_GENERIC_ERROR,
.hint =
- "A generic error happened in the LibEuFin sandbox. See the enclose details JSON for more information.",
+ "A generic error occurred in the LibEuFin sandbox. See the enclosed details JSON for more information.",
.http_code = MHD_HTTP_UNINITIALIZED
},
@@ -5945,7 +5988,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 9767 */
.ec = TALER_EC_CHALLENGER_CLIENT_AUTHENTICATION_FAILED,
.hint =
- "Authentication of the client failed: the client identifier and client secret presented do not match a registered client. Returned where the endpoint authenticates the client, so the reply challenges for credentials.",
+ "Authentication of the client failed: the presented client identifier and client secret do not match a registered client. This response is returned when the endpoint authenticates the client, so it challenges the client for credentials.",
.http_code = MHD_HTTP_UNAUTHORIZED
},
@@ -5993,7 +6036,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/* 9801 */
.ec = TALER_EC_PAIVANA_BACKEND_REFUSED,
.hint =
- "The merchant backend refused our request to check the payment status. The backend is either down or Paivana is configured badly. The system administrator should check the logs.",
+ "The merchant backend refused the request to check the payment status. The backend is either unavailable or Paivana is misconfigured. The system administrator should check the logs.",
.http_code = MHD_HTTP_BAD_GATEWAY
},
@@ -6075,7 +6118,7 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
/**
* The length of @e code_hint_pairs.
*/
-static const unsigned int code_hint_pairs_length = 783;
+static const unsigned int code_hint_pairs_length = 788;
const char *
@@ -6152,4 +6195,4 @@ TALER_ErrorCode_check_invariants (void)
for (unsigned int i = 1; i < code_hint_pairs_length; i++)
GNUNET_assert (code_hint_pairs[i - 1].ec <
code_hint_pairs[i].ec);
-}
+}
+\ No newline at end of file