From e6d09d25681798a01cc6a61877a0ec4a0f2dca63 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 9 May 2017 13:33:26 +0200 Subject: handle error code returned by TALER_amount_subtract in new error case TALER_EC_PAYBACK_COIN_BALANCE_NEGATIVE --- src/include/taler_error_codes.h | 7 +++++++ 1 file changed, 7 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 84240c295..bfca715a2 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -896,6 +896,13 @@ enum TALER_ErrorCode */ TALER_EC_PAYBACK_BLINDING_FAILED = 1858, + /** + * The coin's remaining balance is zero. The request is denied. + * This response is provided with an HTTP status code of + * MHD_HTTP_INTERNAL_SERVER_ERROR + */ + TALER_EC_PAYBACK_COIN_BALANCE_NEGATIVE = 1857, + /* *********** Merchant backend error codes ********* */ -- cgit v1.2.3