summaryrefslogtreecommitdiff
path: root/src/include/taler_error_codes.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-11-02 14:19:38 +0100
committerChristian Grothoff <christian@grothoff.org>2017-11-02 14:19:38 +0100
commitb6907bb6bf640b678ba05f65b4cca7d78181945f (patch)
treeabd3d47452c1814e8b27661f28681aa3e1fcbc95 /src/include/taler_error_codes.h
parentf3939081d3f0771b8a6a4d96457a23b62fc98afd (diff)
downloadexchange-b6907bb6bf640b678ba05f65b4cca7d78181945f.tar.gz
exchange-b6907bb6bf640b678ba05f65b4cca7d78181945f.tar.bz2
exchange-b6907bb6bf640b678ba05f65b4cca7d78181945f.zip
clarify soft DB error code - they now could be returned
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r--src/include/taler_error_codes.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 244eb8ea5..65831f4a0 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -62,7 +62,7 @@ enum TALER_ErrorCode
* Internal assertion error.
*/
TALER_EC_INTERNAL_INVARIANT_FAILURE = 5,
-
+
/* ********** generic error codes ************* */
@@ -1389,8 +1389,6 @@ enum TALER_ErrorCode
* The backend had trouble accessing the database to persist
* information about the tip authorization.
* The problem might be fixable by repeating the transaction.
- * This error should never be returned to clients but handled
- * internally.
*/
TALER_EC_TIP_AUTHORIZE_DB_SOFT_ERROR = 2706,
@@ -1399,7 +1397,7 @@ enum TALER_ErrorCode
* Returned with an HTTP status code of "not found".
*/
TALER_EC_TIP_AUTHORIZE_RESERVE_NOT_ENABLED = 2707,
-
+
/**
* The backend had trouble accessing the database to persist
* information about enabling tips.
@@ -1421,8 +1419,6 @@ enum TALER_ErrorCode
/**
* We encountered a DB error, repeating the request may work.
- * (This error code should not be returned to the application
- * but ought to be handled internally by retrying.)
*/
TALER_EC_TIP_PICKUP_DB_ERROR_SOFT = 2802,
@@ -1442,13 +1438,13 @@ enum TALER_ErrorCode
TALER_EC_TIP_PICKUP_AMOUNT_CHANGED = 2804,
/**
- * We failed to contact the exchange to obtain the denomination
+ * 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
+ * We contacted the exchange to obtain any denomination
* keys, but got no valid keys.
* Returned with a response code "failed dependency" (424).
*/
@@ -1469,7 +1465,7 @@ enum TALER_ErrorCode
TALER_EC_TIP_PICKUP_EXCHANGE_AMOUNT_OVERFLOW = 2808,
/**
- * The number of planchets specified exceeded the
+ * The number of planchets specified exceeded the
* limit. Returned with a response code
* of "bad request".
*/