GNUnet Error Codes#

GNUnet error code registry.

Policy#

Developers working on GNUnet or packages based on GNUnet should feel free to extend this registry. Entries may be deleted if no code using them is still expected to be in production anywhere.

Updating the name of the package or subsystem is allowed provided that the code using the signature is being moved, as those fields are merely informational or used for code generation.

Entries#

Name

GNUNET_EC_NONE

Value

0

HTTP Status Code

0

Description

No error (success).

Name

GNUNET_EC_UNKNOWN

Value

1

HTTP Status Code

500

Description

Unknown and unspecified error.

Name

GNUNET_EC_SERVICE_COMMUNICATION_FAILED

Value

101

HTTP Status Code

500

Description

Communication with service failed.

Name

GNUNET_EC_IDENTITY_NOT_FOUND

Value

200

HTTP Status Code

404

Description

Ego not found.

Name

GNUNET_EC_IDENTITY_NAME_CONFLICT

Value

201

HTTP Status Code

409

Description

Identifier already in use for another ego.

Name

GNUNET_EC_IDENTITY_INVALID

Value

202

HTTP Status Code

500

Description

The given ego is invalid or malformed.

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.