summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-31 17:39:26 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:50:13 +0200
commit44c70269e25b86d3ab995b9fbd3366020b6a3c1c (patch)
tree13bcbb9d2e0ee73dc19a3a7365527facc9ff8e4b /src/include
parent6eabe1ab4f6ac393155e04c3c3579dc97d7cb99b (diff)
downloadexchange-44c70269e25b86d3ab995b9fbd3366020b6a3c1c.tar.gz
exchange-44c70269e25b86d3ab995b9fbd3366020b6a3c1c.tar.bz2
exchange-44c70269e25b86d3ab995b9fbd3366020b6a3c1c.zip
update ECs
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_error_codes.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 1e031f4b6..87feea2d3 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -2166,6 +2166,61 @@ enum TALER_ErrorCode
TALER_EC_RESERVES_DELETE_NO_SUCH_RESERVE = 2722,
/**
+ * The backend got an unexpected error trying to lookup reserve
+ * details from the backend. This response is provided with HTTP
+ * status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_LOOKUP_RESERVE_DB_FAILURE = 2723,
+
+ /**
+ * The backend repeatedly failed to serialize the transaction to
+ * authorize the tip. This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_SERIALIZATION_FAILURE = 2724,
+
+ /**
+ * The backend failed to start the transaction to authorize the tip.
+ * This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_START_FAILURE = 2725,
+
+ /**
+ * The backend failed looking up the reserve needed to authorize the
+ * tip. This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_LOOKUP_RESERVE_FAILURE = 2726,
+
+ /**
+ * The backend failed to find a reserve needed to authorize the tip.
+ * This response is provided with HTTP status code
+ * #MHD_HTTP_SERVICE_UNAVAILABLE.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_RESERVE_NOT_FOUND = 2727,
+
+ /**
+ * The backend encountered an internal invariant violation. This
+ * response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_RESERVE_INVARIANT_FAILURE = 2728,
+
+ /**
+ * The selected exchange expired. This response is provided with HTTP
+ * status code #MHD_HTTP_GONE.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_RESERVE_EXPIRED = 2729,
+
+ /**
+ * The backend failed updating the reserve needed to authorize the
+ * tip. This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_UPDATE_RESERVE_FAILURE = 2730,
+
+ /**
* The backend had trouble accessing the database to persist
* information about enabling tips. Returned with an HTTP status code
* of internal error.