commit ba079a89d49fd1909a9bac153209d9ffd527812f
parent 34f20d8be618409730e02f0078896ec129d8a404
Author: Antoine A <>
Date: Mon, 6 Nov 2023 17:25:54 +0100
more libeufin-bank error codes
Diffstat:
2 files changed, 71 insertions(+), 1 deletion(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -2241,6 +2241,26 @@ Name: BANK_CONFIRM_INCOMPLETE
Description: The client attempted to confirm a transaction with incomplete info.
HttpStatus: 409
+Value: 5131
+Name: BANK_TAN_RATE_LIMITED
+Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks.
+HttpStatus: 429
+
+Value: 5132
+Name: BANK_TAN_CHANNEL_NOT_SUPPORTED
+Description: This TAN channel is not supported.
+HttpStatus: 501
+
+Value: 5133
+Name: BANK_TAN_CHANNEL_SCRIPT_FAILED
+Description: Failed to send TAN using the helper script. Either script is not found, or script timeout, or script terminated with a non-successful result.
+HttpStatus: 500
+
+Value: 5134
+Name: BANK_TAN_CHALLENGE_FAILED
+Description: The client's response to the challenge was invalid.
+HttpStatus: 403
+
# 6000 - 6999: Reserved for sync
# 6000 - 6099: Reserved for SYNC_GENERIC
diff --git a/gnu-taler-error-codes/taler_error_codes.rst b/gnu-taler-error-codes/taler_error_codes.rst
@@ -2789,7 +2789,7 @@ Description The wire hash was malformed.
-------------------------------------------------------------------------------
Value 2024
HTTP Status Code 409
-Description The currency specified in the operation does not work with the current state of the given resource.
+Description The currency specified in the operation does not work with the current state of the given resource.
=================== ===========================================================
@@ -4215,6 +4215,46 @@ Description The client attempted to confirm a transaction with incomplet
=================== ===========================================================
+ TALER_EC_BANK_TAN_RATE_LIMITED
+-------------------------------------------------------------------------------
+Value 5131
+HTTP Status Code 429
+Description The request rate is too high. The server is refusing requests to guard against brute-force attacks.
+=================== ===========================================================
+
+
+
+=================== ===========================================================
+ TALER_EC_BANK_TAN_CHANNEL_NOT_SUPPORTED
+-------------------------------------------------------------------------------
+Value 5132
+HTTP Status Code 501
+Description This TAN channel is not supported.
+=================== ===========================================================
+
+
+
+=================== ===========================================================
+ TALER_EC_BANK_TAN_CHANNEL_SCRIPT_FAILED
+-------------------------------------------------------------------------------
+Value 5133
+HTTP Status Code 500
+Description Failed to send TAN using the helper script. Either script is not found, or script timeout, or script terminated with a non-successful result.
+=================== ===========================================================
+
+
+
+=================== ===========================================================
+ TALER_EC_BANK_TAN_CHALLENGE_FAILED
+-------------------------------------------------------------------------------
+Value 5134
+HTTP Status Code 403
+Description The client's response to the challenge was invalid.
+=================== ===========================================================
+
+
+
+=================== ===========================================================
TALER_EC_SYNC_ACCOUNT_UNKNOWN
-------------------------------------------------------------------------------
Value 6100
@@ -5495,6 +5535,16 @@ Description The PIN code provided is incorrect.
=================== ===========================================================
+ TALER_EC_CHALLENGER_MISSING_ADDRESS
+-------------------------------------------------------------------------------
+Value 9759
+HTTP Status Code 409
+Description The token cannot be valid as no address was ever provided by the client.
+=================== ===========================================================
+
+
+
+=================== ===========================================================
TALER_EC_END
-------------------------------------------------------------------------------
Value 9999