aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-09 14:55:36 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-09 14:55:36 +0100
commit67fdaaef849642e71f480d3e9ff3bfbe9e97ec03 (patch)
tree662dd2949510cdca1ff323ae578c287be1a7492d
parentb536d82f901cbd77da38eb65960b1c8433f583ea (diff)
db error code for /map/in
-rw-r--r--src/include/taler_error_codes.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 0820af6d9..db6317714 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1127,8 +1127,7 @@ enum TALER_ErrorCode
/**
* The exchange gave conflicting information about a coin which has
* been wire transferred.
- * The response is
- * provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+ * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
*/
TALER_EC_TRACK_TRANSFER_CONFLICTING_REPORTS = 2408,
@@ -1138,6 +1137,13 @@ enum TALER_ErrorCode
*/
TALER_EC_MAP_IN_UNMATCHED_HASH = 2500,
+ /**
+ * The backend encountered an error while trying to store the
+ * pair <contract, h_contract> into the database.
+ * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_MAP_IN_STORE_DB_ERROR = 2501,
+
/* ********** /test API error codes ************* */
/**