gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: expand set of EC co


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: expand set of EC codes to better cover merchant /refund (likely still not perfect)
Date: Thu, 29 Jun 2017 14:26:31 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 0ba8825  expand set of EC codes to better cover merchant /refund 
(likely still not perfect)
0ba8825 is described below

commit 0ba88250a9760c3ba6473ed90a8cdaed0cf2c49a
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jun 29 14:21:49 2017 +0200

    expand set of EC codes to better cover merchant /refund (likely still not 
perfect)
---
 src/include/taler_error_codes.h | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index fd9387f..5e9988e 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -137,6 +137,14 @@ enum TALER_ErrorCode
    */
   TALER_EC_COIN_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS = 1010,
 
+  /**
+   * Internal logic error.  Some server-side function
+   * failed that really should not.
+   * This response is provided with HTTP status code
+   * MHD_HTTP_INTERNAL_SERVER_ERROR.
+   */
+  TALER_EC_INTERNAL_LOGIC_ERROR = 1011,
+
 
 
   /* ********** request-specific error codes ************* */
@@ -1284,9 +1292,17 @@ enum TALER_ErrorCode
   TALER_EC_REFUND_INCONSISTENT_AMOUNT = 2602,
 
   /**
-   * The hashed contract term doesn't have any refund associated yet.
+   * The backend encountered an error while trying to retrieve the
+   * payment data from database.  Likely to be an internal error.
    */
-  TALER_EC_REFUND_H_CONTRACT_TERMS_UNKNOWN = 2603,
+  TALER_EC_REFUND_LOOKUP_DB_ERROR = 2603,
+
+  /**
+   * The backend encountered an error while trying to retrieve the
+   * payment data from database.  Likely to be an internal error.
+   */
+  TALER_EC_REFUND_MERCHANT_DB_COMMIT_ERROR = 2604,
+
 
   /* ********** /test API error codes ************* */
 

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



reply via email to

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