summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-14 20:18:47 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-14 20:18:47 +0100
commitd292b8edca01c5152d3ccc8ac7ace9e8d27d3659 (patch)
tree734cf9fa90324d6ef6963ae9572c9011f31141e3 /src/include
parent6aca928cf89bbd3ddc9384d773415dbb04f0659f (diff)
downloadexchange-d292b8edca01c5152d3ccc8ac7ace9e8d27d3659.tar.gz
exchange-d292b8edca01c5152d3ccc8ac7ace9e8d27d3659.tar.bz2
exchange-d292b8edca01c5152d3ccc8ac7ace9e8d27d3659.zip
code cleanup and additional error checking logic for #6124, but no actual semantic change
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_error_codes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index f485f2da7..e6bd73647 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -382,6 +382,13 @@ enum TALER_ErrorCode
TALER_EC_DENOMINATION_KEY_LOST = 1116,
/**
+ * The exchange's database entry with the reserve balance summary
+ * is inconsistent with its own history of the reserve.
+ * Returned with an HTTP status of #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_WITHDRAW_HISTORY_RESERVE_BALANCE_CORRUPT = 1117,
+
+ /**
* The exchange failed to obtain the transaction history of the given
* reserve from the database. This response is provided with HTTP
* status code MHD_HTTP_INTERNAL_SERVER_ERROR.