# Registry for GNUnet error codes

Name | GNUNET_EC_NONE
Value | 0
HTTP Status Code | 0
Description | No error (success).

Name | GNUNET_EC_NAMESTORE_UNKNOWN
Value | 5000
HTTP Status Code | 500
Description | Unknown namestore error.

Name | GNUNET_EC_NAMESTORE_ITERATION_FAILED
Value | 5001
HTTP Status Code | 500
Description | Zone iteration failed.

Name | GNUNET_EC_NAMESTORE_ZONE_NOT_FOUND
Value | 5002
HTTP Status Code | 404
Description | Zone not found.

Name | GNUNET_EC_NAMESTORE_RECORD_NOT_FOUND
Value | 5003
HTTP Status Code | 404
Description | Record not found.

Name | GNUNET_EC_NAMESTORE_RECORD_DELETE_FAILED
Value | 5004
HTTP Status Code | 500
Description | Zone iteration failed.

Name | GNUNET_EC_NAMESTORE_ZONE_EMPTY
Value | 5005
HTTP Status Code | 404
Description | Zone does not contain any records.

Name | GNUNET_EC_NAMESTORE_LOOKUP_ERROR
Value | 5006
HTTP Status Code | 500
Description | Failed to lookup record.

Name | GNUNET_EC_NAMESTORE_NO_RECORDS_GIVEN
Value | 5007
HTTP Status Code | 400
Description | No records given.

Name | GNUNET_EC_NAMESTORE_RECORD_DATA_INVALID
Value | 5008
HTTP Status Code | 400
Description | Record data invalid.

Name | GNUNET_EC_NAMESTORE_NO_LABEL_GIVEN
Value | 5009
HTTP Status Code | 400
Description | No label given.

Name | GNUNET_EC_NAMESTORE_NO_RESULTS
Value | 5010
HTTP Status Code | 404
Description | No results given.

Name | GNUNET_EC_NAMESTORE_RECORD_EXISTS
Value | 5011
HTTP Status Code | 409
Description | Record already exists.

Name | GNUNET_EC_NAMESTORE_RECORD_TOO_BIG
Value | 5012
HTTP Status Code | 500
Description | Record size exceeds maximum limit.

Name | GNUNET_EC_NAMESTORE_BACKEND_FAILED
Value | 5013
HTTP Status Code | 500
Description | There was an error in the database backend.

Name | GNUNET_EC_NAMESTORE_STORE_FAILED
Value | 5014
HTTP Status Code | 500
Description | Failed to store the given records.

Name | GNUNET_EC_NAMESTORE_LABEL_INVALID
Value | 5015
HTTP Status Code | 400
Description | Label invalid or malformed.