From c8bdf5597a7b45c0c133e1d4a19e351cc781c868 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 26 Sep 2019 14:17:26 +0200 Subject: one EC for instance unknown --- src/include/taler_error_codes.h | 55 ++--------------------------------------- 1 file changed, 2 insertions(+), 53 deletions(-) diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h index b490f2bb0..3a5ef4ae1 100644 --- a/src/include/taler_error_codes.h +++ b/src/include/taler_error_codes.h @@ -937,12 +937,13 @@ enum TALER_ErrorCode * in the request. This response is * provided with HTTP status code MHD_HTTP_NOT_FOUND. */ - TALER_EC_CONTRACT_INSTANCE_UNKNOWN = 2000, + TALER_EC_INSTANCE_UNKNOWN = 2000, /** * The frontend specified two different instances within * the same order: one in the top level, and the other one * within the 'merchant' object. + * FIXME: hopefully this one is now obsolete? */ TALER_EC_CONTRACT_INSTANCE_INCONSISTENT = 2001, @@ -1025,13 +1026,6 @@ enum TALER_ErrorCode */ TALER_EC_PAY_EXCHANGE_TIMEOUT = 2111, - /** - * The backend could not find the merchant instance specified - * in the request. This response is - * provided with HTTP status code MHD_HTTP_NOT_FOUND. - */ - TALER_EC_PAY_INSTANCE_UNKNOWN = 2112, - /** * The signature over the contract of the merchant * was invalid. This response is provided with HTTP status code @@ -1148,12 +1142,6 @@ enum TALER_ErrorCode */ TALER_EC_HISTORY_DB_FETCH_ERROR = 2201, - /** - * Instance used to retrieve history is unknown to the - * merchant. - */ - TALER_EC_HISTORY_INSTANCE_UNKNOWN = 2202, - /** * We failed to contact the exchange for the /track/transaction * request. This response is provided with HTTP status code @@ -1161,13 +1149,6 @@ enum TALER_ErrorCode */ TALER_EC_TRACK_TRANSACTION_EXCHANGE_TIMEOUT = 2300, - /** - * The backend could not find the merchant instance specified - * in the request. This response is - * provided with HTTP status code MHD_HTTP_NOT_FOUND. - */ - TALER_EC_TRACK_TRANSACTION_INSTANCE_UNKNOWN = 2301, - /** * The backend could not find the transaction specified * in the request. This response is @@ -1233,13 +1214,6 @@ enum TALER_ErrorCode */ TALER_EC_TRACK_TRANSFER_EXCHANGE_TIMEOUT = 2400, - /** - * The backend could not find the merchant instance specified - * in the request. This response is - * provided with HTTP status code MHD_HTTP_NOT_FOUND. - */ - TALER_EC_TRACK_TRANSFER_INSTANCE_UNKNOWN = 2401, - /** * We failed to persist coin wire transfer information in * our merchant database. @@ -1365,11 +1339,6 @@ enum TALER_ErrorCode TALER_EC_PROPOSAL_STORE_DB_ERROR_ALREADY_EXISTS = 2508, - /** - * The client specified an unknown instance for any of the /refund operations - */ - TALER_EC_REFUND_INSTANCE_UNKNOWN = 2600, - /** * The frontend gave an unknown order id to issue the refund to. */ @@ -1408,13 +1377,6 @@ enum TALER_ErrorCode TALER_EC_PAY_REFUND_SIGNATURE_FAILED = 2606, - /** - * The backend does not know the instance that was supposed to support - * the tip. Likely to be a configuration error. Returned with an - * HTTP status code of "NOT FOUND". - */ - TALER_EC_TIP_AUTHORIZE_INSTANCE_UNKNOWN = 2700, - /** * The backend knows the instance that was supposed to support the * tip, but it was not configured for tipping (i.e. has no exchange @@ -1595,19 +1557,6 @@ enum TALER_ErrorCode */ TALER_EC_TIP_QUERY_TIP_ID_UNKNOWN = 2810, - /** - * The backend could not find the merchant instance specified - * in the request. This response is - * provided with HTTP status code MHD_HTTP_NOT_FOUND. - */ - TALER_EC_TIP_INSTANCE_UNKNOWN = 2811, - - /** - * The instance for check-payment is unknown, likely - * a buggy frontend or misconfigured instances. - */ - TALER_EC_CHECK_PAYMENT_INSTANCE_UNKNOWN = 2910, - /** * We failed to contract terms from our merchant database. * The response is provided with HTTP status code -- cgit v1.2.3