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: define more error c


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: define more error codes
Date: Thu, 02 Nov 2017 14:03:30 +0100

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 f393908  define more error codes
f393908 is described below

commit f3939081d3f0771b8a6a4d96457a23b62fc98afd
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Nov 2 14:03:18 2017 +0100

    define more error codes
---
 src/include/taler_error_codes.h | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index f4c25c3..244eb8e 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -58,6 +58,12 @@ enum TALER_ErrorCode
    */
   TALER_EC_EXCHANGE_BAD_CONFIGURATION = 4,
 
+  /**
+   * Internal assertion error.
+   */
+  TALER_EC_INTERNAL_INVARIANT_FAILURE = 5,
+  
+
   /* ********** generic error codes ************* */
 
   /**
@@ -1435,6 +1441,40 @@ enum TALER_ErrorCode
    */
   TALER_EC_TIP_PICKUP_AMOUNT_CHANGED = 2804,
 
+  /**
+   * We failed to contact the exchange to obtain the denomination 
+   * keys.  Returned with a response code "failed dependency" (424).
+   */
+  TALER_EC_TIP_PICKUP_EXCHANGE_DOWN = 2805,
+
+  /**
+   * We contacted the exchange to obtain any denomination 
+   * keys, but got no valid keys.
+   * Returned with a response code "failed dependency" (424).
+   */
+  TALER_EC_TIP_PICKUP_EXCHANGE_LACKED_KEYS = 2806,
+
+  /**
+   * We contacted the exchange to obtain at least one of
+   * the denomination keys specified in the request.
+   * Returned with a response code "not found" (404).
+   */
+  TALER_EC_TIP_PICKUP_EXCHANGE_LACKED_KEY = 2807,
+
+  /**
+   * We encountered an arithmetic issue totaling up the
+   * amount to withdraw. Returned with a response code
+   * of "bad request".
+   */
+  TALER_EC_TIP_PICKUP_EXCHANGE_AMOUNT_OVERFLOW = 2808,
+
+  /**
+   * The number of planchets specified exceeded the 
+   * limit. Returned with a response code
+   * of "bad request".
+   */
+  TALER_EC_TIP_PICKUP_EXCHANGE_TOO_MANY_PLANCHETS = 2809,
+
 
   /* ********** /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]