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: Sun, 31 May 2020 17:39:43 +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 d807b5f  more ECs
d807b5f is described below

commit d807b5fbeafcd730f45be0f71f8623d5f8abc807
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun May 31 17:39:40 2020 +0200

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

diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index 1442c4f..9c43ed0 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -3247,6 +3247,87 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "TIP_LOOKUP_RESERVE_DB_FAILURE",
+    2723,
+    """
+    The backend got an unexpected error trying to lookup reserve
+    details from the backend.
+    This response is provided
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
+ec._add_ec(
+    "TIP_AUTHORIZE_DB_SERIALIZATION_FAILURE",
+    2724,
+    """
+    The backend repeatedly failed to serialize the transaction to authorize 
the tip.
+    This response is provided
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
+ec._add_ec(
+    "TIP_AUTHORIZE_DB_START_FAILURE",
+    2725,
+    """
+    The backend failed to start the transaction to authorize the tip.
+    This response is provided
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
+
+ec._add_ec(
+    "TIP_AUTHORIZE_DB_LOOKUP_RESERVE_FAILURE",
+    2726,
+    """
+    The backend failed looking up the reserve needed to authorize the tip.
+    This response is provided
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
+ec._add_ec(
+    "TIP_AUTHORIZE_DB_RESERVE_NOT_FOUND",
+    2727,
+    """
+    The backend failed to find a reserve needed to authorize the tip.
+    This response is provided
+    with HTTP status code #MHD_HTTP_SERVICE_UNAVAILABLE.
+    """,
+)
+
+ec._add_ec(
+    "TIP_AUTHORIZE_DB_RESERVE_INVARIANT_FAILURE",
+    2728,
+    """
+    The backend encountered an internal invariant violation.
+    This response is provided
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
+
+ec._add_ec(
+    "TIP_AUTHORIZE_DB_RESERVE_EXPIRED",
+    2729,
+    """
+    The selected exchange expired.
+    This response is provided
+    with HTTP status code #MHD_HTTP_GONE.
+    """,
+)
+
+ec._add_ec(
+    "TIP_AUTHORIZE_DB_UPDATE_RESERVE_FAILURE",
+    2730,
+    """
+    The backend failed updating the reserve needed to authorize the tip.
+    This response is provided
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+    """,
+)
 
 ec._add_ec(
     "TIP_ENABLE_DB_TRANSACTION_ERROR",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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