From 970e3fd4cb4a3f76d1bcf56e4cec668bcb828078 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 29 Nov 2019 10:52:09 +0100 Subject: [PATCH] error codes --- src/include/taler_error_codes.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index 28ee64fed..917f3fc93 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -1966,17 +1966,25 @@ enum TALER_ErrorCode /** * Sync could not store order data in its own database. * This response is provided with HTTP status code - * MHD_HTTP_INTERNAL_ERROR. + * MHD_HTTP_INTERNAL_SERVER_ERROR. */ TALER_EC_SYNC_PAYMENT_CREATE_DB_ERROR = 6015, /** * Sync could not store payment confirmation in its own database. * This response is provided with HTTP status code - * MHD_HTTP_INTERNAL_ERROR. + * MHD_HTTP_INTERNAL_SERVER_ERROR. */ TALER_EC_SYNC_PAYMENT_CONFIRM_DB_ERROR = 6016, + /** + * Sync could not fetch information about possible existing + * orders from its own database. + * This response is provided with HTTP status code + * MHD_HTTP_INTERNAL_SERVER_ERROR. + */ + TALER_EC_SYNC_PAYMENT_CHECK_ORDER_DB_ERROR = 6017, + /** * End of error code range.