commit 2f674e8362571ec0b218f5f9b3a836d80d754f09
parent fc9fef6f971d4db84e27854ffbcadefa493c4228
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 25 Oct 2020 19:59:05 +0100
use better status codes
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -1290,7 +1290,7 @@ HttpStatus: 500
Value: 2449
Name: POST_INSTANCES_BAD_CURRENCY
Description: The merchant backend cannot create an instance with the given default max deposit fee or default max wire fee because the fee currencies are incompatible with the merchant's currency in the config.
-HttpStatus: 400
+HttpStatus: 409
Value: 2450
Name: POST_INSTANCES_ALREADY_EXISTS
@@ -1380,7 +1380,7 @@ HttpStatus: 500
Value: 2508
Name: PROPOSAL_STORE_DB_ERROR_ALREADY_EXISTS
Description: The backend encountered an error: the proposal already exists.
-HttpStatus: 500
+HttpStatus: 409
Value: 2509
Name: PROPOSAL_ORDER_BAD_CURRENCY