summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-12-22 12:32:44 +0100
committerChristian Grothoff <christian@grothoff.org>2018-12-22 12:32:56 +0100
commit7b10ad08517ea0bd9a8772e046c0671260bcf73f (patch)
tree128c7cdb3ad419df03e152da6fd2e61a24e31a60 /src/include
parent5a6755b4b4d3cc400b9366d221fd4036106a2cd1 (diff)
downloadexchange-7b10ad08517ea0bd9a8772e046c0671260bcf73f.tar.gz
exchange-7b10ad08517ea0bd9a8772e046c0671260bcf73f.tar.bz2
exchange-7b10ad08517ea0bd9a8772e046c0671260bcf73f.zip
fix numbering of EC codes, distinguish auditor DB store errors
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_error_codes.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index fbd0ef949..2aff939f1 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1514,7 +1514,7 @@ enum TALER_ErrorCode
* This response is
* provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
*/
- TALER_EC_CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH = 2014,
+ TALER_EC_CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH = 2914,
/* *********** Auditor error codes ********* */
@@ -1523,21 +1523,28 @@ enum TALER_ErrorCode
* The signature from the exchange on the deposit confirmation
* is invalid. Returned with a "400 Bad Request" status code.
*/
- TALER_EC_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID = 2500,
+ TALER_EC_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID = 3000,
/**
* The auditor had trouble storing the deposit confirmation
* in its database. Returned with an HTTP status code of
* MHD_HTTP_INTERNAL_SERVER_ERROR.
*/
- TALER_EC_DEPOSIT_CONFIRMATION_STORE_DB_ERROR = 2501,
+ TALER_EC_DEPOSIT_CONFIRMATION_STORE_DB_ERROR = 3001,
/**
* The auditor had trouble retrieving the exchange list
* from its database. Returned with an HTTP status code of
* MHD_HTTP_INTERNAL_SERVER_ERROR.
*/
- TALER_EC_LIST_EXCHANGES_DB_ERROR = 2502,
+ TALER_EC_LIST_EXCHANGES_DB_ERROR = 3002,
+
+ /**
+ * The auditor had trouble storing an exchange in its
+ * database. Returned with an HTTP status code of
+ * MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_AUDITOR_EXCHANGE_STORE_DB_ERROR = 3003,
/* ********** /test API error codes ************* */