gnunet-svn
[Top][All Lists]
Advanced

[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: Fri, 22 May 2020 11:19:36 +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 f438164  more ECs
f438164 is described below

commit f438164b947ffb057645b6176d3595fcb73d1611
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri May 22 11:19:34 2020 +0200

    more ECs
---
 taler/util/errorcodes.py | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 46 insertions(+), 1 deletion(-)

diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index 19a7f95..f9280bd 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -3013,6 +3013,15 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "GET_RESERVES_DB_LOOKUP_ERROR",
+    2652,
+    """
+    The backend failed to fetch the requested information from the database.
+    Returned with an HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
 ec._add_ec(
     "TIP_AUTHORIZE_INSTANCE_DOES_NOT_TIP",
     2701,
@@ -3030,7 +3039,7 @@ ec._add_ec(
     """
     The reserve that was used to fund the tips has expired.
     Returned with an HTTP status code of
-    #MHD_HTTP_NOT_FOUND.
+    #MHD_HTTP_GONE.
     """,
 )
 
@@ -3220,6 +3229,24 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "RESERVES_DELETE_DB_HARD_FAILURE",
+    2721,
+    """
+    The reserve could not be deleted due to a database failure.
+    Returned with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
+ec._add_ec(
+    "RESERVES_DELETE_NO_SUCH_RESERVE",
+    2722,
+    """
+    The reserve could not be deleted because it is unknown.
+    Returned with HTTP status code #MHD_HTTP_NOT_FOUND.
+    """,
+)
+
 
 ec._add_ec(
     "TIP_ENABLE_DB_TRANSACTION_ERROR",
@@ -3358,6 +3385,24 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "GET_TIPS_DB_LOOKUP_ERROR",
+    2813,
+    """
+    Merchant failed to access its database to lookup the tip.
+    Returned with a response code of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
+ec._add_ec(
+    "GET_TIPS_ID_UNKNOWN",
+    2814,
+    """
+    Merchant failed find the tip in its database.
+    Returned with a response code of #MHD_HTTP_NOT_FOUND.
+    """,
+)
+
 
 ec._add_ec(
     "GET_ORDERS_DB_LOOKUP_ERROR",

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]