From 2b37e9bfad4e3380cf4c42992724ccc466f67980 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 2 Jan 2024 20:06:09 +0100 Subject: improve error message texts --- gnu-taler-error-codes/registry.rec | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'gnu-taler-error-codes') diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index 7e2d1f0..f37d2d3 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec @@ -1748,52 +1748,52 @@ HttpStatus: 409 Value: 2500 Name: MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE -Description: The backend lacks a wire transfer method configuration option for the given instance. Thus, this instance is unavailable (not findable for creating new orders). +Description: The merchant instance has no active bank accounts configured. However, at least one bank account must be available to create new orders. HttpStatus: 404 Value: 2501 Name: MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME -Description: The proposal had no timestamp and the backend failed to obtain the local time. Likely to be an internal error. +Description: The proposal had no timestamp and the merchant backend failed to obtain the current local time. HttpStatus: 500 Value: 2502 Name: MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR -Description: The order provided to the backend could not be parsed, some required fields were missing or ill-formed. +Description: The order provided to the backend could not be parsed; likely some required fields were missing or ill-formed. HttpStatus: 400 Value: 2503 Name: MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS -Description: The backend encountered an error: the proposal already exists. +Description: A conflicting order (sharing the same order identifier) already exists at this merchant backend instance. HttpStatus: 409 Value: 2504 Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE -Description: The request is invalid: the wire deadline is before the refund deadline. +Description: The order creation request is invalid because the given wire deadline is before the refund deadline. HttpStatus: 400 Value: 2505 Name: MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST -Description: The request is invalid: a delivery date was given, but it is in the past. +Description: The order creation request is invalid because the delivery date given is in the past. HttpStatus: 400 Value: 2506 Name: MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER -Description: The request is invalid: the wire deadline for the order would be "never". +Description: The order creation request is invalid because a wire deadline of "never" is not allowed. HttpStatus: 400 Value: 2507 Name: MERCHANT_PRIVATE_POST_ORDERS_PAY_DEADLINE_IN_PAST -Description: The request is invalid: a payment deadline was given, but it is in the past. +Description: The order ceration request is invalid because the given payment deadline is in the past. HttpStatus: 400 Value: 2508 Name: MERCHANT_PRIVATE_POST_ORDERS_REFUND_DEADLINE_IN_PAST -Description: The request is invalid: a refund deadline was given, but it is in the past. +Description: The order creation request is invalid because the given refund deadline is in the past. HttpStatus: 400 Value: 2509 Name: MERCHANT_PRIVATE_POST_ORDERS_NO_EXCHANGES_FOR_WIRE_METHOD -Description: The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the selected wire method. Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion. +Description: The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the wire method specified with the order. Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion. HttpStatus: 409 Value: 2510 @@ -1808,7 +1808,7 @@ HttpStatus: 409 Value: 2520 Name: MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT -Description: The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. +Description: The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid. HttpStatus: 409 Value: 2521 @@ -1818,17 +1818,17 @@ HttpStatus: 409 Value: 2530 Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT -Description: The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it is too big to be paid back. In this second case, the fault stays on the business dept. side. +Description: The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it exceeds the original price paid by the customer. HttpStatus: 409 Value: 2531 Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID -Description: The frontend gave an unpaid order id to issue the refund to. +Description: Only paid orders can be refunded, and the frontend specified an unpaid order to issue a refund for. HttpStatus: 409 Value: 2532 Name: MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT -Description: The refund delay was set to 0 and thus no refunds are allowed for this order. +Description: The refund delay was set to 0 and thus no refunds are ever allowed for this order. HttpStatus: 403 -- cgit v1.2.3