aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-30 23:03:56 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-30 23:03:56 +0200
commit30e5f82204ae9d1020cb6c1f31446acc37d7cf36 (patch)
tree2001d7e99b0ee366718e371b6d26ea383a2c617a
parentaebd5420308d7599aadb8818a82d9ffc89492334 (diff)
downloadgana-30e5f82204ae9d1020cb6c1f31446acc37d7cf36.tar.gz
gana-30e5f82204ae9d1020cb6c1f31446acc37d7cf36.zip
-use nicer status codes
-rw-r--r--gnu-taler-error-codes/registry.rec30
1 files changed, 15 insertions, 15 deletions
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index 84e773c..2011b82 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -1660,57 +1660,57 @@ HttpStatus: 410
1660Value: 5101 1660Value: 5101
1661Name: BANK_SAME_ACCOUNT 1661Name: BANK_SAME_ACCOUNT
1662Description: Wire transfer attempted with credit and debit party being the same bank account. 1662Description: Wire transfer attempted with credit and debit party being the same bank account.
1663HttpStatus: 0 1663HttpStatus: 400
1664 1664
1665Value: 5102 1665Value: 5102
1666Name: BANK_UNALLOWED_DEBIT 1666Name: BANK_UNALLOWED_DEBIT
1667Description: Wire transfer impossible, due to financial limitation of the party that attempted the payment. 1667Description: Wire transfer impossible, due to financial limitation of the party that attempted the payment.
1668HttpStatus: 0 1668HttpStatus: 409
1669 1669
1670Value: 5103 1670Value: 5103
1671Name: BANK_NEGATIVE_NUMBER_AMOUNT 1671Name: BANK_NEGATIVE_NUMBER_AMOUNT
1672Description: Negative number was used (as value and/or fraction) to initiate a Amount object. 1672Description: Negative number was used (as value and/or fraction) to initiate a Amount object.
1673HttpStatus: 0 1673HttpStatus: 400
1674 1674
1675Value: 5104 1675Value: 5104
1676Name: BANK_NUMBER_TOO_BIG 1676Name: BANK_NUMBER_TOO_BIG
1677Description: A number too big was used (as value and/or fraction) to initiate a amount object. 1677Description: A number too big was used (as value and/or fraction) to initiate a amount object.
1678HttpStatus: 0 1678HttpStatus: 400
1679 1679
1680Value: 5105 1680Value: 5105
1681Name: BANK_LOGIN_FAILED 1681Name: BANK_LOGIN_FAILED
1682Description: Could not login for the requested operation. 1682Description: Could not login for the requested operation.
1683HttpStatus: 0 1683HttpStatus: 403
1684 1684
1685Value: 5106 1685Value: 5106
1686Name: BANK_UNKNOWN_ACCOUNT 1686Name: BANK_UNKNOWN_ACCOUNT
1687Description: The bank account referenced in the requested operation was not found. Returned along "400 Not found". 1687Description: The bank account referenced in the requested operation was not found.
1688HttpStatus: 0 1688HttpStatus: 404
1689 1689
1690Value: 5107 1690Value: 5107
1691Name: BANK_TRANSACTION_NOT_FOUND 1691Name: BANK_TRANSACTION_NOT_FOUND
1692Description: The transaction referenced in the requested operation (typically a reject operation), was not found. 1692Description: The transaction referenced in the requested operation (typically a reject operation), was not found.
1693HttpStatus: 0 1693HttpStatus: 404
1694 1694
1695Value: 5108 1695Value: 5108
1696Name: BANK_BAD_FORMAT_AMOUNT 1696Name: BANK_BAD_FORMAT_AMOUNT
1697Description: Bank received a malformed amount string. 1697Description: Bank received a malformed amount string.
1698HttpStatus: 0 1698HttpStatus: 400
1699 1699
1700Value: 5109 1700Value: 5109
1701Name: BANK_REJECT_NO_RIGHTS 1701Name: BANK_REJECT_NO_RIGHTS
1702Description: The client does not own the account credited by the transaction which is to be rejected, so it has no rights do reject it. To be returned along HTTP 403 Forbidden. 1702Description: The client does not own the account credited by the transaction which is to be rejected, so it has no rights do reject it.
1703HttpStatus: 0 1703HttpStatus: 403
1704 1704
1705Value: 5110 1705Value: 5110
1706Name: BANK_UNMANAGED_EXCEPTION 1706Name: BANK_UNMANAGED_EXCEPTION
1707Description: This error code is returned when no known exception types captured the exception, and comes along with a 500 Internal Server Error. 1707Description: This error code is returned when no known exception types captured the exception.
1708HttpStatus: 0 1708HttpStatus: 500
1709 1709
1710Value: 5111 1710Value: 5111
1711Name: BANK_SOFT_EXCEPTION 1711Name: BANK_SOFT_EXCEPTION
1712Description: This error code is used for all those exceptions that do not really need a specific error code to return to the client, but need to signal the middleware that the bank is not responding with 500 Internal Server Error. Used for example when a client is trying to register with a unavailable username. 1712Description: This error code is used for all those exceptions that do not really need a specific error code to return to the client. Used for example when a client is trying to register with a unavailable username.
1713HttpStatus: 0 1713HttpStatus: 500
1714 1714
1715Value: 5112 1715Value: 5112
1716Name: BANK_TRANSFER_REQUEST_UID_REUSED 1716Name: BANK_TRANSFER_REQUEST_UID_REUSED