diff options
Diffstat (limited to 'gnu-taler-error-codes')
-rw-r--r-- | gnu-taler-error-codes/Makefile | 2 | ||||
-rw-r--r-- | gnu-taler-error-codes/kt.header | 4 | ||||
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 10 |
3 files changed, 13 insertions, 3 deletions
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile index 9e59810..df67f78 100644 --- a/gnu-taler-error-codes/Makefile +++ b/gnu-taler-error-codes/Makefile | |||
@@ -59,7 +59,7 @@ taler_error_codes.kt.tmp: combined.tmp kt.template | |||
59 | ../format.sh kt.template < combined.tmp > $@ | 59 | ../format.sh kt.template < combined.tmp > $@ |
60 | 60 | ||
61 | taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer | 61 | taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer |
62 | cat $^ > $@ | 62 | cat $^ | sed -e "s/(0000)/(0)/" -e "s/(000/(/" -e "s/(00/(/" > $@ |
63 | 63 | ||
64 | taler_error_codes.py.tmp: combined.tmp py.template | 64 | taler_error_codes.py.tmp: combined.tmp py.template |
65 | ../format.sh py.template < combined.tmp > $@ | 65 | ../format.sh py.template < combined.tmp > $@ |
diff --git a/gnu-taler-error-codes/kt.header b/gnu-taler-error-codes/kt.header index 0abbb6e..72e6fe1 100644 --- a/gnu-taler-error-codes/kt.header +++ b/gnu-taler-error-codes/kt.header | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNU Taler | 2 | This file is part of GNU Taler |
3 | Copyright (C) 2012-2020 Taler Systems SA | 3 | Copyright (C) 2012-2024 Taler Systems SA |
4 | 4 | ||
5 | GNU Taler is free software: you can redistribute it and/or modify it | 5 | GNU Taler is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Lesser General Public License as published | 6 | under the terms of the GNU Lesser General Public License as published |
@@ -20,6 +20,6 @@ | |||
20 | Note: the LGPL does not apply to all components of GNU Taler, | 20 | Note: the LGPL does not apply to all components of GNU Taler, |
21 | but it does apply to this file. | 21 | but it does apply to this file. |
22 | */ | 22 | */ |
23 | package net.taler.common.errorcodes | 23 | package tech.libeufin.common |
24 | 24 | ||
25 | enum class TalerErrorCode(val code: Int) { | 25 | enum class TalerErrorCode(val code: Int) { |
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index df5dcfa..8f55e93 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec | |||
@@ -2389,6 +2389,16 @@ Name: BANK_NON_ADMIN_SET_TAN_CHANNEL | |||
2389 | Description: A non-admin user has tried to create an account with 2fa. | 2389 | Description: A non-admin user has tried to create an account with 2fa. |
2390 | HttpStatus: 409 | 2390 | HttpStatus: 409 |
2391 | 2391 | ||
2392 | Value: 5146 | ||
2393 | Name: BANK_NON_ADMIN_SET_MIN_CASHOUT | ||
2394 | Description: A non-admin user has tried to set their minimum cashout amount. | ||
2395 | HttpStatus: 409 | ||
2396 | |||
2397 | Value: 5147 | ||
2398 | Name: BANK_CONVERSION_AMOUNT_TO_SMALL | ||
2399 | Description: Amount of currency conversion it less than the minimum allowed. | ||
2400 | HttpStatus: 409 | ||
2401 | |||
2392 | # 6000 - 6999: Reserved for sync | 2402 | # 6000 - 6999: Reserved for sync |
2393 | # 6000 - 6099: Reserved for SYNC_GENERIC | 2403 | # 6000 - 6099: Reserved for SYNC_GENERIC |
2394 | 2404 | ||