aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-error-codes
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-taler-error-codes')
-rw-r--r--gnu-taler-error-codes/Makefile2
-rw-r--r--gnu-taler-error-codes/kt.header4
-rw-r--r--gnu-taler-error-codes/registry.rec10
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
61taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer 61taler_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
64taler_error_codes.py.tmp: combined.tmp py.template 64taler_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 */
23package net.taler.common.errorcodes 23package tech.libeufin.common
24 24
25enum class TalerErrorCode(val code: Int) { 25enum 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
2389Description: A non-admin user has tried to create an account with 2fa. 2389Description: A non-admin user has tried to create an account with 2fa.
2390HttpStatus: 409 2390HttpStatus: 409
2391 2391
2392Value: 5146
2393Name: BANK_NON_ADMIN_SET_MIN_CASHOUT
2394Description: A non-admin user has tried to set their minimum cashout amount.
2395HttpStatus: 409
2396
2397Value: 5147
2398Name: BANK_CONVERSION_AMOUNT_TO_SMALL
2399Description: Amount of currency conversion it less than the minimum allowed.
2400HttpStatus: 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