aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes
diff options
context:
space:
mode:
authorAntoine A <>2024-01-05 00:27:28 +0100
committerAntoine A <>2024-01-05 00:27:28 +0100
commit6d3fb428f0a2dd5bc5f35516ea77c32c2cf0ecfa (patch)
treec3ce3fc18ae65711c1b736a42bfcc570c333e0d4 /gnu-taler-error-codes
parent003bc0e30c685636a588a2efa2fdd9a5d1b76923 (diff)
downloadgana-6d3fb428f0a2dd5bc5f35516ea77c32c2cf0ecfa.tar.gz
gana-6d3fb428f0a2dd5bc5f35516ea77c32c2cf0ecfa.zip
more libeufin-bank error codes
Diffstat (limited to 'gnu-taler-error-codes')
-rw-r--r--gnu-taler-error-codes/registry.rec10
-rw-r--r--gnu-taler-error-codes/taler_error_codes.rst36
2 files changed, 32 insertions, 14 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index f37d2d3..b63d803 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -2306,6 +2306,16 @@ Name: BANK_ADMIN_CREDITOR
2306Description: The client tried to create a transaction that credit the admin account. 2306Description: The client tried to create a transaction that credit the admin account.
2307HttpStatus: 409 2307HttpStatus: 409
2308 2308
2309Value: 5143
2310Name: BANK_CHALLENGE_NOT_FOUND
2311Description: The referenced challenge was not found.
2312HttpStatus: 404
2313
2314Value: 5144
2315Name: BANK_TAN_CHALLENGE_EXPIRED
2316Description: The referenced challenge has expired.
2317HttpStatus: 409
2318
2309# 6000 - 6999: Reserved for sync 2319# 6000 - 6999: Reserved for sync
2310# 6000 - 6099: Reserved for SYNC_GENERIC 2320# 6000 - 6099: Reserved for SYNC_GENERIC
2311 2321
diff --git a/gnu-taler-error-codes/taler_error_codes.rst b/gnu-taler-error-codes/taler_error_codes.rst
index fde39b6..b81138f 100644
--- a/gnu-taler-error-codes/taler_error_codes.rst
+++ b/gnu-taler-error-codes/taler_error_codes.rst
@@ -1327,43 +1327,43 @@ Entries
1327 * - MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE 1327 * - MERCHANT_PRIVATE_POST_ORDERS_INSTANCE_CONFIGURATION_LACKS_WIRE
1328 - 2500 1328 - 2500
1329 - 404 (NOT_FOUND) 1329 - 404 (NOT_FOUND)
1330 - The backend lacks a wire transfer method configuration option for the given instance. Thus, this instance is unavailable (not findable for creating new orders). 1330 - The merchant instance has no active bank accounts configured. However, at least one bank account must be available to create new orders.
1331 * - MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME 1331 * - MERCHANT_PRIVATE_POST_ORDERS_NO_LOCALTIME
1332 - 2501 1332 - 2501
1333 - 500 (INTERNAL_SERVER_ERROR) 1333 - 500 (INTERNAL_SERVER_ERROR)
1334 - The proposal had no timestamp and the backend failed to obtain the local time. Likely to be an internal error. 1334 - The proposal had no timestamp and the merchant backend failed to obtain the current local time.
1335 * - MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR 1335 * - MERCHANT_PRIVATE_POST_ORDERS_PROPOSAL_PARSE_ERROR
1336 - 2502 1336 - 2502
1337 - 400 (BAD_REQUEST) 1337 - 400 (BAD_REQUEST)
1338 - The order provided to the backend could not be parsed, some required fields were missing or ill-formed. 1338 - The order provided to the backend could not be parsed; likely some required fields were missing or ill-formed.
1339 * - MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS 1339 * - MERCHANT_PRIVATE_POST_ORDERS_ALREADY_EXISTS
1340 - 2503 1340 - 2503
1341 - 409 (CONFLICT) 1341 - 409 (CONFLICT)
1342 - The backend encountered an error: the proposal already exists. 1342 - A conflicting order (sharing the same order identifier) already exists at this merchant backend instance.
1343 * - MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE 1343 * - MERCHANT_PRIVATE_POST_ORDERS_REFUND_AFTER_WIRE_DEADLINE
1344 - 2504 1344 - 2504
1345 - 400 (BAD_REQUEST) 1345 - 400 (BAD_REQUEST)
1346 - The request is invalid: the wire deadline is before the refund deadline. 1346 - The order creation request is invalid because the given wire deadline is before the refund deadline.
1347 * - MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST 1347 * - MERCHANT_PRIVATE_POST_ORDERS_DELIVERY_DATE_IN_PAST
1348 - 2505 1348 - 2505
1349 - 400 (BAD_REQUEST) 1349 - 400 (BAD_REQUEST)
1350 - The request is invalid: a delivery date was given, but it is in the past. 1350 - The order creation request is invalid because the delivery date given is in the past.
1351 * - MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER 1351 * - MERCHANT_PRIVATE_POST_ORDERS_WIRE_DEADLINE_IS_NEVER
1352 - 2506 1352 - 2506
1353 - 400 (BAD_REQUEST) 1353 - 400 (BAD_REQUEST)
1354 - The request is invalid: the wire deadline for the order would be "never". 1354 - The order creation request is invalid because a wire deadline of "never" is not allowed.
1355 * - MERCHANT_PRIVATE_POST_ORDERS_PAY_DEADLINE_IN_PAST 1355 * - MERCHANT_PRIVATE_POST_ORDERS_PAY_DEADLINE_IN_PAST
1356 - 2507 1356 - 2507
1357 - 400 (BAD_REQUEST) 1357 - 400 (BAD_REQUEST)
1358 - The request is invalid: a payment deadline was given, but it is in the past. 1358 - The order ceration request is invalid because the given payment deadline is in the past.
1359 * - MERCHANT_PRIVATE_POST_ORDERS_REFUND_DEADLINE_IN_PAST 1359 * - MERCHANT_PRIVATE_POST_ORDERS_REFUND_DEADLINE_IN_PAST
1360 - 2508 1360 - 2508
1361 - 400 (BAD_REQUEST) 1361 - 400 (BAD_REQUEST)
1362 - The request is invalid: a refund deadline was given, but it is in the past. 1362 - The order creation request is invalid because the given refund deadline is in the past.
1363 * - MERCHANT_PRIVATE_POST_ORDERS_NO_EXCHANGES_FOR_WIRE_METHOD 1363 * - MERCHANT_PRIVATE_POST_ORDERS_NO_EXCHANGES_FOR_WIRE_METHOD
1364 - 2509 1364 - 2509
1365 - 409 (CONFLICT) 1365 - 409 (CONFLICT)
1366 - The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the selected wire method. Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion. 1366 - The backend does not trust any exchange that would allow funds to be wired to any bank account of this instance using the wire method specified with the order. Note that right now, we do not support the use of exchange bank accounts with mandatory currency conversion.
1367 * - MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT 1367 * - MERCHANT_PRIVATE_PATCH_ORDERS_ID_FORGET_PATH_SYNTAX_INCORRECT
1368 - 2510 1368 - 2510
1369 - 400 (BAD_REQUEST) 1369 - 400 (BAD_REQUEST)
@@ -1375,7 +1375,7 @@ Entries
1375 * - MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT 1375 * - MERCHANT_PRIVATE_DELETE_ORDERS_AWAITING_PAYMENT
1376 - 2520 1376 - 2520
1377 - 409 (CONFLICT) 1377 - 409 (CONFLICT)
1378 - The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. 1378 - The order provided to the backend could not be deleted, our offer is still valid and awaiting payment. Deletion may work later after the offer has expired if it remains unpaid.
1379 * - MERCHANT_PRIVATE_DELETE_ORDERS_ALREADY_PAID 1379 * - MERCHANT_PRIVATE_DELETE_ORDERS_ALREADY_PAID
1380 - 2521 1380 - 2521
1381 - 409 (CONFLICT) 1381 - 409 (CONFLICT)
@@ -1383,15 +1383,15 @@ Entries
1383 * - MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT 1383 * - MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_INCONSISTENT_AMOUNT
1384 - 2530 1384 - 2530
1385 - 409 (CONFLICT) 1385 - 409 (CONFLICT)
1386 - The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it is too big to be paid back. In this second case, the fault stays on the business dept. side. 1386 - The amount to be refunded is inconsistent: either is lower than the previous amount being awarded, or it exceeds the original price paid by the customer.
1387 * - MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID 1387 * - MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_ORDER_UNPAID
1388 - 2531 1388 - 2531
1389 - 409 (CONFLICT) 1389 - 409 (CONFLICT)
1390 - The frontend gave an unpaid order id to issue the refund to. 1390 - Only paid orders can be refunded, and the frontend specified an unpaid order to issue a refund for.
1391 * - MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT 1391 * - MERCHANT_PRIVATE_POST_ORDERS_ID_REFUND_NOT_ALLOWED_BY_CONTRACT
1392 - 2532 1392 - 2532
1393 - 403 (FORBIDDEN) 1393 - 403 (FORBIDDEN)
1394 - The refund delay was set to 0 and thus no refunds are allowed for this order. 1394 - The refund delay was set to 0 and thus no refunds are ever allowed for this order.
1395 * - MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_UNKNOWN 1395 * - MERCHANT_PRIVATE_POST_TRANSFERS_EXCHANGE_UNKNOWN
1396 - 2550 1396 - 2550
1397 - 502 (BAD_GATEWAY) 1397 - 502 (BAD_GATEWAY)
@@ -1748,6 +1748,14 @@ Entries
1748 - 5142 1748 - 5142
1749 - 409 (CONFLICT) 1749 - 409 (CONFLICT)
1750 - The client tried to create a transaction that credit the admin account. 1750 - The client tried to create a transaction that credit the admin account.
1751 * - BANK_CHALLENGE_NOT_FOUND
1752 - 5143
1753 - 404 (NOT_FOUND)
1754 - The referenced challenge was not found.
1755 * - BANK_TAN_CHALLENGE_EXPIRED
1756 - 5144
1757 - 409 (CONFLICT)
1758 - The referenced challenge has expired.
1751 * - SYNC_ACCOUNT_UNKNOWN 1759 * - SYNC_ACCOUNT_UNKNOWN
1752 - 6100 1760 - 6100
1753 - 404 (NOT_FOUND) 1761 - 404 (NOT_FOUND)