commit fc4d4453e423aa5545275ebd5cb4a2652b1c4e8f parent 9cdf68e03b5f947add17fe2c77768830b8c24f66 Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Thu, 27 Oct 2022 23:53:30 +0900 more gnunet ECs Diffstat:
| M | gnunet-error-codes/registry.rec | | | 28 | +++++++++++++++++++++++++++- |
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnunet-error-codes/registry.rec b/gnunet-error-codes/registry.rec @@ -5,7 +5,6 @@ %rec: GnunetErrorCode %key: Value %typedef: ValueRange_t range 0 9999 -%constraint: ( Value < 100 ) || ( Value > 999 ) %type: Value ValueRange_t %mandatory: Value %typedef: Description_t regexp |^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\(\)\.,;!"':#\/ -]*$| @@ -25,6 +24,33 @@ Name: NONE Description: No error (success). HttpStatus: 0 +Value: 1 +Name: UNKNOWN +Description: Unknown and unspecified error. +HttpStatus: 500 + +Value: 101 +Name: SERVICE_COMMUNICATION_FAILED +Description: Communication with service failed. +HttpStatus: 500 + +# IDENTITY Error Codes + +Value: 200 +Name: IDENTITY_NOT_FOUND +Description: Ego not found. +HttpStatus: 404 + +Value: 201 +Name: IDENTITY_NAME_CONFLICT +Description: Identifier already in use for another ego. +HttpStatus: 409 + +Value: 202 +Name: IDENTITY_INVALID +Description: The given ego is invalid or malformed. +HttpStatus: 500 + # NAMESTORE Error Codes Value: 5000