From 70a794b6f93c93ac81b162f55f305beb726a3832 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 10 Apr 2020 16:49:45 +0200 Subject: add error codes --- src/include/taler_error_codes.h | 13 +++++++++++++ 1 file changed, 13 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 44c29ca71..cff88857c 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -1603,6 +1603,12 @@ enum TALER_ErrorCode */ TALER_EC_PROPOSAL_REPLY_MALFORMED = 2510, + /** + * The merchant returned a malformed response. Error created client- + * side. + */ + TALER_EC_REFUND_LOOKUP_INVALID_RESPONSE = 2600, + /** * The frontend gave an unknown order id to issue the refund to. */ @@ -1642,6 +1648,13 @@ enum TALER_ErrorCode */ TALER_EC_PAY_REFUND_SIGNATURE_FAILED = 2606, + /** + * The merchant backend is not available of any applicable refund(s) + * for this order. Returned with an HTTP status of + * #MHD_HTTP_NOT_FOUND. + */ + TALER_EC_REFUND_LOOKUP_NO_REFUND = 2607, + /** * The backend knows the instance that was supposed to support the * tip, but it was not configured for tipping (i.e. has no exchange -- cgit v1.2.3