[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-util] branch master updated: more ECs
From: |
gnunet |
Subject: |
[taler-taler-util] branch master updated: more ECs |
Date: |
Wed, 06 May 2020 22:20:17 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository taler-util.
The following commit(s) were added to refs/heads/master by this push:
new eac5f24 more ECs
eac5f24 is described below
commit eac5f24131b700b89fdc5406f78b25d26a268288
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed May 6 22:20:15 2020 +0200
more ECs
---
taler/util/errorcodes.py | 65 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 64 insertions(+), 1 deletion(-)
diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index b347eb4..ac5fde1 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -2405,11 +2405,43 @@ ec._add_ec(
"""
The exchange charged a different wire fee than what it
originally advertised, and it is higher. The response
- is provied with an HTTP status of
+ is provided with an HTTP status of
#MHD_HTTP_FAILED_DEPENDENCY.
""",
)
+
+ec._add_ec(
+ "POST_TRANSFERS_ACCOUNT_NOT_FOUND",
+ 2411,
+ """
+ We did not find the account that the transfer was made to. The response
+ is provided with an HTTP status of
+ #MHD_HTTP_NOT_FOUND.
+ """,
+)
+
+ec._add_ec(
+ "POST_TRANSFERS_DB_STORE_ERROR",
+ 2412,
+ """
+ We did failed to store information in our database. The response
+ is provided with an HTTP status of
+ #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ """,
+)
+
+ec._add_ec(
+ "POST_TRANSFERS_DB_LOOKUP_ERROR",
+ 2413,
+ """
+ We did failed to retrieve information from our database. The response
+ is provided with an HTTP status of
+ #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ """,
+)
+
+
ec._add_ec(
"POST_INSTANCES_ALREADY_EXISTS",
2450,
@@ -3299,6 +3331,37 @@ ec._add_ec(
""",
)
+
+ec._add_ec(
+ "GET_ORDERS_DB_LOOKUP_ERROR",
+ 2900,
+ """
+ We failed to fetch contract terms from our merchant database.
+ The response is provided with HTTP status code
+ #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ """,
+)
+
+ec._add_ec(
+ "GET_ORDERS_ID_UNKNOWN",
+ 2901,
+ """
+ We failed to find the contract terms from our merchant database.
+ The response is provided with HTTP status code
+ #MHD_HTTP_NOT_FOUND.
+ """,
+)
+
+ec._add_ec(
+ "GET_ORDERS_WRONG_CONTRACT",
+ 2902,
+ """
+ The contract hash provided by the wallet does not match the order.
+ The response is provided with HTTP status code
+ #MHD_HTTP_FORBIDDEN.
+ """,
+)
+
ec._add_ec(
"CHECK_PAYMENT_DB_FETCH_CONTRACT_TERMS_ERROR",
2911,
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [taler-taler-util] branch master updated: more ECs,
gnunet <=