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, 17 Mar 2020 17:11:50 +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 742325a  more error codes
742325a is described below

commit 742325a6388b587f31cfed3376dec7c401320fe3
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Mar 17 17:11:47 2020 +0100

    more error codes
---
 taler/util/errorcodes.py | 35 +++++++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)

diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index cd6c13f..6d6a1c3 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -795,6 +795,17 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "DEPOSIT_CURRENCY_MISSMATCH",
+    1222,
+    """
+    The currency specified for the deposit is different from
+    the currency of the coin.  This response is provided with HTTP
+    status code MHD_HTTP_PRECONDITION_FAILED.
+    """,
+)
+
+
 ec._add_ec(
     "REFRESH_MELT_INSUFFICIENT_FUNDS",
     1300,
@@ -808,7 +819,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TALER_EC_REFRESH_MELT_DENOMINATION_KEY_NOT_FOUND",
+    "REFRESH_MELT_DENOMINATION_KEY_NOT_FOUND",
     1301,
     """
     The respective coin did not have sufficient residual value
@@ -904,7 +915,6 @@ ec._add_ec(
     """,
 )
 
-
 ec._add_ec(
     "MELT_INVALID_SIGNATURE_BY_EXCHANGE",
     1310,
@@ -913,6 +923,16 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "MELT_CURRENCY_MISSMATCH",
+    1311,
+    """
+    The currency specified for the melt amount is different from
+    the currency of the coin.  This response is provided with HTTP
+    status code MHD_HTTP_PRECONDITION_FAILED.
+    """,
+)
+
 ec._add_ec(
     "REFRESH_RECOUP_DENOMINATION_KEY_NOT_FOUND",
     1351,
@@ -1557,6 +1577,17 @@ ec._add_ec(
     """,
 )
 
+ec._add_ec(
+    "KEYS_TIMETRAVEL_FORBIDDEN",
+    1902,
+    """
+    This exchange does not allow clients to request /keys for
+    times other than the current (exchange) time.
+    This reponse is provied with an HTTP status code of
+    MHD_HTTP_FORBIDDEN.
+    """,
+)
+
 
 ec._add_ec(
     "INSTANCE_UNKNOWN",

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



reply via email to

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