commit b81c1622db81c947b102b1fa2075a949f021ad21
parent 6b74d0faa173bbb220cdd82dcf3915dadd241e1e
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 12 Feb 2022 11:22:11 +0100
turn size violation into generic EC
Diffstat:
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -269,7 +269,7 @@ HttpStatus: 500
Value: 1012
Name: EXCHANGE_GENERIC_INSUFFICIENT_FUNDS
-Description: The respective coin did not have sufficient residual value for the operation. The "history" in this response provdes the "residual_value" of the coin, which may be less than its "original_value".
+Description: The respective coin did not have sufficient residual value for the operation. The "history" in this response provides the "residual_value" of the coin, which may be less than its "original_value".
HttpStatus: 409
Value: 1013
@@ -297,6 +297,13 @@ Name: EXCHANGE_GENERIC_CIPHER_MISMATCH
Description: The provided arguments for the operation use inconsistent ciphers.
HttpStatus: 400
+Value: 1018
+Name: EXCHANGE_GENERIC_NEW_DENOMS_ARRAY_SIZE_EXCESSIVE
+Description: The number of denominations specified in the request exceeds the limit of the exchange.
+HttpStatus: 400
+
+
+
Value: 1100
Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND
Description: The exchange did not find information about the specified transaction in the database.
@@ -459,11 +466,6 @@ Name: EXCHANGE_REFRESHES_REVEAL_CNC_TRANSFER_ARRAY_SIZE_INVALID
Description: The size of the cut-and-choose dimension of the private transfer keys request does not match #TALER_CNC_KAPPA - 1.
HttpStatus: 400
-Value: 1357
-Name: EXCHANGE_REFRESHES_REVEAL_NEW_DENOMS_ARRAY_SIZE_EXCESSIVE
-Description: The number of coins to be created in refresh exceeds the limits of the exchange. private transfer keys request does not match #TALER_CNC_KAPPA - 1.
-HttpStatus: 400
-
Value: 1358
Name: EXCHANGE_REFRESHES_REVEAL_NEW_DENOMS_ARRAY_SIZE_MISMATCH
Description: The number of envelopes given does not match the number of denomination keys given.