[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: |
Mon, 06 Apr 2020 19:49:45 +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 db9ea70 more error codes
db9ea70 is described below
commit db9ea7059344e2289cc11517a385e1389648104c
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Apr 6 19:49:43 2020 +0200
more error codes
---
taler/util/errorcodes.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 48 insertions(+), 2 deletions(-)
diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index c528af2..ee67b7f 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -168,7 +168,6 @@ ec._add_ec(
""",
)
-
ec._add_ec(
"HOLE_IN_WIRE_FEE_STRUCTURE",
13,
@@ -189,6 +188,15 @@ ec._add_ec(
""",
)
+ec._add_ec(
+ "CLIENT_INTERNAL_FAILURE",
+ 15,
+ """
+ The client-side experienced an internal failure.
+ Generated as an error on the client side.
+ """,
+)
+
ec._add_ec(
"DB_SETUP_FAILED",
@@ -1691,6 +1699,16 @@ ec._add_ec(
""",
)
+
+ec._add_ec(
+ "PAY_MERCHANT_INVALID_RESPONSE",
+ 2100,
+ """
+ The merchant failed to provide a meaningful response
+ to a /pay request. This error is created client-side.
+ """,
+)
+
ec._add_ec(
"PAY_EXCHANGE_FAILED",
2101,
@@ -2050,6 +2068,16 @@ ec._add_ec(
""",
)
+ec._add_ec(
+ "POLL_PAYMENT_REPLY_MALFORMED",
+ 2251,
+ """
+ The response provided by the merchant backend was malformed.
+ This error is created client-side.
+ """,
+)
+
+
ec._add_ec(
"TRACK_TRANSACTION_EXCHANGE_TIMEOUT",
2300,
@@ -2354,7 +2382,16 @@ ec._add_ec(
The order provided to the backend uses an amount
in a currency that does not match the backend's
configuration.
- Returned as a bad request.
+ Returned with HTTP status code #MHD_HTTP_BAD_REQUEST.
+ """,
+)
+
+ec._add_ec(
+ "PROPOSAL_REPLY_MALFORMED",
+ 2510,
+ """
+ The response provided by the merchant backend was malformed.
+ This error is created client-side.
""",
)
@@ -2779,6 +2816,15 @@ ec._add_ec(
""",
)
+ec._add_ec(
+ "CHECK_PAYMENT_RESPONSE_MALFORMED",
+ 2916,
+ """
+ The response we received from the merchant is malformed.
+ This error is generated client-side.
+ """,
+)
+
ec._add_ec(
"DEPOSIT_CONFIRMATION_SIGNATURE_INVALID",
--
To stop receiving notification emails like this one, please contact
address@hidden.