commit e9015f67dd6674680a0137b6ef8a04e08a8613e3
parent 64244e85f34d3090ab60ab07c33d8c0de29ab161
Author: MS <ms@taler.net>
Date: Fri, 29 Sep 2023 10:39:21 +0200
libeufin-bank error codes.
Diffstat:
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -120,6 +120,10 @@ Name: GENERIC_RESERVE_PUB_MALFORMED
Description: The reserve public key given as part of a /reserves/ endpoint was malformed.
HttpStatus: 400
+Value: 28
+Name: GENERIC_COMPRESSION_INVALID
+Description: The body in the request could not be decompressed by the server.
+HttpStatus: 400
# Circumstantial client-side protocol problems (30-39)
# (Circumstantial == may work with another server, but not this one)
@@ -161,6 +165,10 @@ Name: GENERIC_TOKEN_MALFORMED
Description: The service refused the request as the given authorization token is malformed.
HttpStatus: 401
+Value: 44
+Name: GENERIC_FORBIDDEN
+Description: The service refused the request due to lack of proper rights on the resource.
+HttpStatus: 403
# Server-side database problems (50-59)
@@ -2104,11 +2112,6 @@ Name: BANK_NUMBER_TOO_BIG
Description: A too big number was used (as value and/or fraction) to instantiate an amount object.
HttpStatus: 400
-Value: 5105
-Name: BANK_LOGIN_FAILED
-Description: Could not login for the requested operation.
-HttpStatus: 403
-
Value: 5106
Name: BANK_UNKNOWN_ACCOUNT
Description: The bank account referenced in the requested operation was not found.
@@ -2179,6 +2182,12 @@ Name: BANK_POST_WITHDRAWAL_OPERATION_REQUIRED
Description: The client attempted to confirm a withdrawal operation before the wallet posted the required details.
HttpStatus: 400
+Value: 5120
+Name: BANK_RESERVED_USERNAME_CONFLICT
+Description: The client tried to register a new account under a reserved username (like 'admin' for example).
+HttpStatus: 409
+
+
# 6000 - 6999: Reserved for sync
# 6000 - 6099: Reserved for SYNC_GENERIC