summaryrefslogtreecommitdiff
path: root/src/include/taler_error_codes.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-10-21 20:52:26 +0200
committerChristian Grothoff <christian@grothoff.org>2018-10-21 20:52:26 +0200
commit4ad39b6b73a9dd2716855e08c67a905d02a1cf97 (patch)
tree332a90050c2758e3ae23a98c811c87f17e963914 /src/include/taler_error_codes.h
parent7e426913cee72ef5e65289f5374b0e17274bf5aa (diff)
downloadexchange-4ad39b6b73a9dd2716855e08c67a905d02a1cf97.tar.gz
exchange-4ad39b6b73a9dd2716855e08c67a905d02a1cf97.tar.bz2
exchange-4ad39b6b73a9dd2716855e08c67a905d02a1cf97.zip
first skeleton of /deposit-confirmation API implementation; not yet complete, cannot work as-is, see FIXMEs
Diffstat (limited to 'src/include/taler_error_codes.h')
-rw-r--r--src/include/taler_error_codes.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 35dceb7c4..3c226e37e 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1516,6 +1516,23 @@ enum TALER_ErrorCode
*/
TALER_EC_CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH = 2014,
+
+ /* *********** Auditor error codes ********* */
+
+ /**
+ * 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,
+
+ /**
+ * 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,
+
+
/* ********** /test API error codes ************* */
/**