[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: new bank error code
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: new bank error code |
Date: |
Sat, 30 Nov 2019 00:25:12 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 204f296a new bank error code
204f296a is described below
commit 204f296a3303c614db221cfd6768c3cc9f99e83a
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 30 00:24:38 2019 +0100
new bank error code
---
src/include/taler_error_codes.h | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 13abdfc8..3e7ed9ae 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1844,11 +1844,24 @@ enum TALER_ErrorCode
/**
* This error code is returned when no known exception types
- * captured the exception.
+ * captured the exception, and comes along with a 500 Internal
+ * Server Error.
*/
TALER_EC_BANK_UNMANAGED_EXCEPTION = 5300,
+ /**
+ * This error code is used for all those exceptions that
+ * do not really need a specific error code to return to
+ * the client, but need to signal the middleware that the
+ * bank is not responding with 500 Internal Server Error.
+ *
+ * Used for example when a client is trying to register
+ * with a unavailable username.
+ */
+ TALER_EC_BANK_SOFT_EXCEPTION = 5300,
+
+
/**
* The sync service failed to access its database.
* This response is provided with HTTP status code
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: new bank error code,
gnunet <=