commit a8ceb9814cad5c7d8c6fb2572b7bbe43edbbc4d4
parent 675afe389fbc0718577b795d63c9fbcb1d6493b3
Author: Antoine A <>
Date: Fri, 13 Jun 2025 19:05:23 +0200
new EC for conversion rate classes
Diffstat:
2 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/gnu-taler-error-codes/kt.header b/gnu-taler-error-codes/kt.header
@@ -1,24 +1,24 @@
/*
- This file is part of GNU Taler
- Copyright (C) 2012-2025 Taler Systems SA
+ *This file is part of GNU Taler
+ * Copyright (C) 2012-2025 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
- by the Free Software Foundation, either version 3 of the License,
- or (at your option) any later version.
+ * 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
+ * by the Free Software Foundation, either version 3 of the License,
+ * or (at your option) any later version.
- GNU Taler is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
+ * GNU Taler is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
- SPDX-License-Identifier: LGPL3.0-or-later
+ * SPDX-License-Identifier: LGPL3.0-or-later
- Note: the LGPL does not apply to all components of GNU Taler,
- but it does apply to this file.
+ * Note: the LGPL does not apply to all components of GNU Taler,
+ * but it does apply to this file.
*/
package tech.libeufin.common
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -2653,6 +2653,21 @@ Name: BANK_TRANSFER_WTID_REUSED
Description: The wtid for a request to transfer funds has already been used, but with a different request unpaid.
HttpStatus: 409
+Value: 5155
+Name: BANK_NON_ADMIN_SET_CONVERSION_RATE_CLASS
+Description: A non-admin user has tried to set their conversion rate class
+HttpStatus: 409
+
+Value: 5156
+Name: BANK_CONVERSION_RATE_CLASS_UNKNOWN
+Description: The referenced conversion rate class was not found
+HttpStatus: 409
+
+Value: 5157
+Name: BANK_NAME_REUSE
+Description: The client tried to use an already taken name.
+HttpStatus: 409
+
# 6000 - 6999: Reserved for sync
# 6000 - 6099: Reserved for SYNC_GENERIC