From 4ad39b6b73a9dd2716855e08c67a905d02a1cf97 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 21 Oct 2018 20:52:26 +0200 Subject: first skeleton of /deposit-confirmation API implementation; not yet complete, cannot work as-is, see FIXMEs --- src/include/taler_error_codes.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/include/taler_error_codes.h') 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 ************* */ /** -- cgit v1.2.3