From 65f96ed1f7ff7fd4d886e5cda04ec9ec8b5c0aca Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 Nov 2020 17:36:06 +0100 Subject: add missing DB ec code --- gnu-taler-error-codes/registry.rec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu-taler-error-codes/registry.rec') diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index a614775..b284f88 100644 --- 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 -- cgit v1.2.3