diff options
author | Antoine A <> | 2023-11-06 17:25:54 +0100 |
---|---|---|
committer | Antoine A <> | 2023-11-06 17:25:54 +0100 |
commit | ba079a89d49fd1909a9bac153209d9ffd527812f (patch) | |
tree | 11736be9217ea576cfb92eb1d14b4f2fc7c8f8da | |
parent | 34f20d8be618409730e02f0078896ec129d8a404 (diff) | |
download | gana-ba079a89d49fd1909a9bac153209d9ffd527812f.tar.gz gana-ba079a89d49fd1909a9bac153209d9ffd527812f.zip |
more libeufin-bank error codes
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 20 | ||||
-rw-r--r-- | gnu-taler-error-codes/taler_error_codes.rst | 52 |
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 | |||
2241 | Description: The client attempted to confirm a transaction with incomplete info. | 2241 | Description: The client attempted to confirm a transaction with incomplete info. |
2242 | HttpStatus: 409 | 2242 | HttpStatus: 409 |
2243 | 2243 | ||
2244 | Value: 5131 | ||
2245 | Name: BANK_TAN_RATE_LIMITED | ||
2246 | Description: The request rate is too high. The server is refusing requests to guard against brute-force attacks. | ||
2247 | HttpStatus: 429 | ||
2248 | |||
2249 | Value: 5132 | ||
2250 | Name: BANK_TAN_CHANNEL_NOT_SUPPORTED | ||
2251 | Description: This TAN channel is not supported. | ||
2252 | HttpStatus: 501 | ||
2253 | |||
2254 | Value: 5133 | ||
2255 | Name: BANK_TAN_CHANNEL_SCRIPT_FAILED | ||
2256 | 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. | ||
2257 | HttpStatus: 500 | ||
2258 | |||
2259 | Value: 5134 | ||
2260 | Name: BANK_TAN_CHALLENGE_FAILED | ||
2261 | Description: The client's response to the challenge was invalid. | ||
2262 | HttpStatus: 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 | ------------------------------------------------------------------------------- |
2790 | Value 2024 | 2790 | Value 2024 |
2791 | HTTP Status Code 409 | 2791 | HTTP Status Code 409 |
2792 | Description The currency specified in the operation does not work with the current state of the given resource. | 2792 | Description 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 | ------------------------------------------------------------------------------- | ||
4220 | Value 5131 | ||
4221 | HTTP Status Code 429 | ||
4222 | Description 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 | ------------------------------------------------------------------------------- | ||
4230 | Value 5132 | ||
4231 | HTTP Status Code 501 | ||
4232 | Description This TAN channel is not supported. | ||
4233 | =================== =========================================================== | ||
4234 | |||
4235 | |||
4236 | |||
4237 | =================== =========================================================== | ||
4238 | TALER_EC_BANK_TAN_CHANNEL_SCRIPT_FAILED | ||
4239 | ------------------------------------------------------------------------------- | ||
4240 | Value 5133 | ||
4241 | HTTP Status Code 500 | ||
4242 | 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. | ||
4243 | =================== =========================================================== | ||
4244 | |||
4245 | |||
4246 | |||
4247 | =================== =========================================================== | ||
4248 | TALER_EC_BANK_TAN_CHALLENGE_FAILED | ||
4249 | ------------------------------------------------------------------------------- | ||
4250 | Value 5134 | ||
4251 | HTTP Status Code 403 | ||
4252 | Description 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 | ------------------------------------------------------------------------------- |
4220 | Value 6100 | 4260 | Value 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 | ------------------------------------------------------------------------------- | ||
5540 | Value 9759 | ||
5541 | HTTP Status Code 409 | ||
5542 | Description 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 | ------------------------------------------------------------------------------- |
5500 | Value 9999 | 5550 | Value 9999 |