commit 969e2b3b796a805b4954ea38d8a409c27f861883 parent 2e56c864ed9c99a46cbb692cdb2dc38ecb3a6a4c Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 3 Aug 2020 12:35:03 +0200 more codes, disambiguate HTTP status codes Diffstat:
| M | gnu-taler-error-codes/registry.rec | | | 18 | ++++++++++++++---- |
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec @@ -60,17 +60,17 @@ HttpStatus: 0 Value: 7 Name: JSON_ALLOCATION_FAILURE Description: Exchange failed to allocate memory for building JSON reply. -HttpStatus: 0 +HttpStatus: 500 Value: 8 Name: METHOD_INVALID Description: HTTP method invalid for this URL. -HttpStatus: 0 +HttpStatus: 405 Value: 9 Name: OPERATION_INVALID -Description: Operation specified invalid for this URL (resulting in a "NOT FOUND" for the overall response). -HttpStatus: 0 +Description: Operation specified invalid for this endpoint. +HttpStatus: 400 Value: 10 Name: ENDPOINT_UNKNOWN @@ -112,6 +112,16 @@ Name: PAYTO_MALFORMED Description: The payto:// URI we got is malformed. HttpStatus: 0 +Value: 18 +Name: OPERATION_UNKNOWN +Description: Operation specified unknown for this endpoint. +HttpStatus: 404 + +Value: 19 +Name: ALLOCATION_FAILURE +Description: Exchange failed to allocate memory. +HttpStatus: 500 + Value: 1001 Name: DB_SETUP_FAILED Description: The exchange failed to even just initialize its connection to the database.