commit 65f96ed1f7ff7fd4d886e5cda04ec9ec8b5c0aca
parent 956c469f4f1d42683c67c099a567524a8267b332
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 7 Nov 2020 17:36:06 +0100
add missing DB ec code
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -133,16 +133,21 @@ Description: The service failed to store information in its database.
HttpStatus: 500
Value: 53
+Name: GENERIC_DB_FETCH_FAILED
+Description: The service failed to fetch information from its database.
+HttpStatus: 500
+
+Value: 54
Name: GENERIC_DB_COMMIT_ERROR
Description: The service encountered an error event to commit the database transaction (hard, unrecoverable error).
HttpStatus: 500
-Value: 54
+Value: 55
Name: GENERIC_DB_SOFT_ERROR
Description: The service encountered an error event to commit the database transaction, even after repeatedly retrying it there was always a conflicting transaction. (This indicates a repeated serialization error; should only happen if some client maliciously tries to create conflicting concurrent transactions.)
HttpStatus: 500
-Value: 55
+Value: 56
Name: GENERIC_DB_INVARIANT_FAILURE
Description: The service's database is inconsistent and violates service-internal invariants.
HttpStatus: 500