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 error codes


From: gnunet
Subject: [taler-taler-util] branch master updated: more error codes
Date: Tue, 10 Mar 2020 18:51:36 +0100

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 31d0a05  more error codes
31d0a05 is described below

commit 31d0a05e253298817464ef16eab632e67f1ceb62
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Mar 10 18:51:34 2020 +0100

    more error codes
---
 taler/util/errorcodes.py | 51 +++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 48 insertions(+), 3 deletions(-)

diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index 3613556..6632abd 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -361,7 +361,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "DEPOSTIS_INVALID_H_CONTRACT_TERMS",
+    "DEPOSITS_INVALID_H_CONTRACT_TERMS",
     1055,
     """
     The hash of the contract terms given to a /deposits/ handler was malformed.
@@ -377,13 +377,23 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESHES_INVALID_RCH",
+    "DEPOSITS_INVALID_BODY_BY_EXCHANGE",
     1057,
     """
-    The refresh session hash given to a /refreshes/ handler was malformed.
+    The body returned by the exchange for a /deposits/ request was malformed. 
Error created client-side.
     """,
 )
 
+ec._add_ec(
+    "DEPOSITS_INVALID_SIGNATURE_BY_EXCHANGE",
+    1058,
+    """
+    The signature returned by the exchange in a /deposits/ request was 
malformed. Error created client-side.
+    """,
+)
+
+
+
 ec._add_ec(
     "WITHDRAW_INSUFFICIENT_FUNDS",
     1100,
@@ -765,6 +775,15 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "DEPOSIT_INVALID_SIGNATURE_BY_EXCHANGE",
+    1221,
+    """
+    The signature provided by the exchange is not
+    valid. Error created client-side.
+    """,
+)
+
 ec._add_ec(
     "REFRESH_MELT_INSUFFICIENT_FUNDS",
     1300,
@@ -874,6 +893,15 @@ ec._add_ec(
     """,
 )
 
+
+ec._add_ec(
+    "MELT_INVALID_SIGNATURE_BY_EXCHANGE",
+    1310,
+    """
+    The signature returned by the exchange in a melt request was malformed. 
Error created client-side.
+    """,
+)
+
 ec._add_ec(
     "REFRESH_RECOUP_DENOMINATION_KEY_NOT_FOUND",
     1351,
@@ -1065,6 +1093,15 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "REFRESHES_INVALID_RCH",
+    1384,
+    """
+    The refresh session hash given to a /refreshes/ handler was malformed.
+    """,
+)
+
+
 
 ec._add_ec(
     "REFRESH_LINK_COIN_UNKNOWN",
@@ -1234,6 +1271,14 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "REFUND_INVALID_SIGNATURE_BY_EXCHANGE",
+    1515,
+    """
+    The signature returned by the exchange in a refund request was malformed. 
Error created client-side.
+    """,
+)
+
 
 ec._add_ec(
     "ADMIN_ADD_INCOMING_WIREFORMAT_UNSUPPORTED",

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



reply via email to

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