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: starting with error


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: starting with error codes for tipping API
Date: Sun, 22 Oct 2017 19:07:10 +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 2cb6c5b  starting with error codes for tipping API
2cb6c5b is described below

commit 2cb6c5b9fe5813aab586674cc6f81c2839ae0f8b
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Oct 22 19:07:07 2017 +0200

    starting with error codes for tipping API
---
 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 5a95635..2196907 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1336,6 +1336,46 @@ enum TALER_ErrorCode
    */
    TALER_EC_PAY_DB_STORE_PAYMENTS_ERROR = 2605,
 
+  /**
+   * The backend does not know the instance that was supposed to support
+   * the tip.  Likely to be a configuration error. Returned with an
+   * HTTP status code of "NOT FOUND".
+   */
+  TALER_EC_TIP_AUTHORIZE_INSTANCE_UNKNOWN = 2700,
+
+  /**
+   * The backend knows the instance that was supposed to support the
+   * tip, but it was not configured for tipping (i.e. has no exchange
+   * associated with it).  Likely to be a configuration
+   * error. Returned with an HTTP status code of "NOT FOUND".
+   */
+  TALER_EC_TIP_AUTHORIZE_INSTANCE_DOES_NOT_TIP = 2701,
+
+  /**
+   * The backend knows the instance that was supposed to support the
+   * tip, and it was configured for tipping. However, the funds
+   * remaining are insufficient to cover the tip, and the merchant
+   * should top up the reserve.
+   * Returned with an HTTP status code of "PRECONDITION FAILED".
+   */
+  TALER_EC_TIP_AUTHORIZE_INSUFFICIENT_FUNDS = 2702,
+
+  /**
+   * The backend had trouble accessing the database to persist
+   * information about the tip authorization.
+   * Returned with an HTTP status code of internal error.
+   */
+  TALER_EC_TIP_AUTHORIZE_DB_TRANSACTION_ERROR = 2703,
+
+  /**
+   * The backend had trouble accessing the database to persist
+   * information about enabling tips.
+   * Returned with an HTTP status code of internal error.
+   */
+  TALER_EC_TIP_ENABLE_DB_TRANSACTION_ERROR = 2750,
+
+
+
 
   /* ********** /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]