commit e7103267008996a81bbcec6cc2997196d841a364
parent 22d4fcd90e9166f48a9a947516f2ad9f0d4b1792
Author: Antoine A <>
Date: Tue, 7 May 2024 05:30:16 +0200
add libeufin-bank errors
Diffstat:
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git 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
../format.sh kt.template < combined.tmp > $@
taler_error_codes.kt: kt.header taler_error_codes.kt.tmp kt.footer
- cat $^ > $@
+ cat $^ | sed -e "s/(0000)/(0)/" -e "s/(000/(/" -e "s/(00/(/" > $@
taler_error_codes.py.tmp: combined.tmp py.template
../format.sh py.template < combined.tmp > $@
diff --git a/gnu-taler-error-codes/kt.header b/gnu-taler-error-codes/kt.header
@@ -1,6 +1,6 @@
/*
This file is part of GNU Taler
- Copyright (C) 2012-2020 Taler Systems SA
+ Copyright (C) 2012-2024 Taler Systems SA
GNU Taler is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
@@ -20,6 +20,6 @@
Note: the LGPL does not apply to all components of GNU Taler,
but it does apply to this file.
*/
-package net.taler.common.errorcodes
+package tech.libeufin.common
enum class TalerErrorCode(val code: Int) {
diff --git 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
Description: A non-admin user has tried to create an account with 2fa.
HttpStatus: 409
+Value: 5146
+Name: BANK_NON_ADMIN_SET_MIN_CASHOUT
+Description: A non-admin user has tried to set their minimum cashout amount.
+HttpStatus: 409
+
+Value: 5147
+Name: BANK_CONVERSION_AMOUNT_TO_SMALL
+Description: Amount of currency conversion it less than the minimum allowed.
+HttpStatus: 409
+
# 6000 - 6999: Reserved for sync
# 6000 - 6099: Reserved for SYNC_GENERIC