aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine A <>2023-11-06 17:25:54 +0100
committerAntoine A <>2023-11-06 17:25:54 +0100
commitba079a89d49fd1909a9bac153209d9ffd527812f (patch)
tree11736be9217ea576cfb92eb1d14b4f2fc7c8f8da
parent34f20d8be618409730e02f0078896ec129d8a404 (diff)
downloadgana-ba079a89d49fd1909a9bac153209d9ffd527812f.tar.gz
gana-ba079a89d49fd1909a9bac153209d9ffd527812f.zip
more libeufin-bank error codes
-rw-r--r--gnu-taler-error-codes/registry.rec20
-rw-r--r--gnu-taler-error-codes/taler_error_codes.rst52
2 files changed, 71 insertions, 1 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index b348349..d1db506 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -2241,6 +2241,26 @@ Name: BANK_CONFIRM_INCOMPLETE
2241Description: The client attempted to confirm a transaction with incomplete info. 2241Description: The client attempted to confirm a transaction with incomplete info.
2242HttpStatus: 409 2242HttpStatus: 409
2243 2243
2244Value: 5131
2245Name: BANK_TAN_RATE_LIMITED
2246Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks.
2247HttpStatus: 429
2248
2249Value: 5132
2250Name: BANK_TAN_CHANNEL_NOT_SUPPORTED
2251Description: This TAN channel is not supported.
2252HttpStatus: 501
2253
2254Value: 5133
2255Name: BANK_TAN_CHANNEL_SCRIPT_FAILED
2256Description: Failed to send TAN using the helper script. Either script is not found, or script timeout, or script terminated with a non-successful result.
2257HttpStatus: 500
2258
2259Value: 5134
2260Name: BANK_TAN_CHALLENGE_FAILED
2261Description: The client's response to the challenge was invalid.
2262HttpStatus: 403
2263
2244 2264
2245# 6000 - 6999: Reserved for sync 2265# 6000 - 6999: Reserved for sync
2246# 6000 - 6099: Reserved for SYNC_GENERIC 2266# 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
index d35b523..2e97093 100644
--- 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.
2789------------------------------------------------------------------------------- 2789-------------------------------------------------------------------------------
2790Value 2024 2790Value 2024
2791HTTP Status Code 409 2791HTTP Status Code 409
2792Description The currency specified in the operation does not work with the current state of the given resource. 2792Description The currency specified in the operation does not work with the current state of the given resource.
2793=================== =========================================================== 2793=================== ===========================================================
2794 2794
2795 2795
@@ -4215,6 +4215,46 @@ Description The client attempted to confirm a transaction with incomplet
4215 4215
4216 4216
4217=================== =========================================================== 4217=================== ===========================================================
4218 TALER_EC_BANK_TAN_RATE_LIMITED
4219-------------------------------------------------------------------------------
4220Value 5131
4221HTTP Status Code 429
4222Description The request rate is too high. The server is refusing requests to guard against brute-force attacks.
4223=================== ===========================================================
4224
4225
4226
4227=================== ===========================================================
4228 TALER_EC_BANK_TAN_CHANNEL_NOT_SUPPORTED
4229-------------------------------------------------------------------------------
4230Value 5132
4231HTTP Status Code 501
4232Description This TAN channel is not supported.
4233=================== ===========================================================
4234
4235
4236
4237=================== ===========================================================
4238 TALER_EC_BANK_TAN_CHANNEL_SCRIPT_FAILED
4239-------------------------------------------------------------------------------
4240Value 5133
4241HTTP Status Code 500
4242Description Failed to send TAN using the helper script. Either script is not found, or script timeout, or script terminated with a non-successful result.
4243=================== ===========================================================
4244
4245
4246
4247=================== ===========================================================
4248 TALER_EC_BANK_TAN_CHALLENGE_FAILED
4249-------------------------------------------------------------------------------
4250Value 5134
4251HTTP Status Code 403
4252Description The client's response to the challenge was invalid.
4253=================== ===========================================================
4254
4255
4256
4257=================== ===========================================================
4218 TALER_EC_SYNC_ACCOUNT_UNKNOWN 4258 TALER_EC_SYNC_ACCOUNT_UNKNOWN
4219------------------------------------------------------------------------------- 4259-------------------------------------------------------------------------------
4220Value 6100 4260Value 6100
@@ -5495,6 +5535,16 @@ Description The PIN code provided is incorrect.
5495 5535
5496 5536
5497=================== =========================================================== 5537=================== ===========================================================
5538 TALER_EC_CHALLENGER_MISSING_ADDRESS
5539-------------------------------------------------------------------------------
5540Value 9759
5541HTTP Status Code 409
5542Description The token cannot be valid as no address was ever provided by the client.
5543=================== ===========================================================
5544
5545
5546
5547=================== ===========================================================
5498 TALER_EC_END 5548 TALER_EC_END
5499------------------------------------------------------------------------------- 5549-------------------------------------------------------------------------------
5500Value 9999 5550Value 9999