//////////////////////////////////////////////////////////////////////////////// /// @brief auto-generated file generated from errors.dat //////////////////////////////////////////////////////////////////////////////// #include #include "./lib/BasicsC/voc-errors.h" //////////////////////////////////////////////////////////////////////////////// /// @addtogroup VocError /// @{ //////////////////////////////////////////////////////////////////////////////// void TRI_InitialiseErrorMessages (void) { REG_ERROR(ERROR_NO_ERROR, "no error"); REG_ERROR(ERROR_FAILED, "failed"); REG_ERROR(ERROR_SYS_ERROR, "system error"); REG_ERROR(ERROR_OUT_OF_MEMORY, "out of memory"); REG_ERROR(ERROR_INTERNAL, "internal error"); REG_ERROR(ERROR_ILLEGAL_NUMBER, "illegal number"); REG_ERROR(ERROR_NUMERIC_OVERFLOW, "numeric overflow"); REG_ERROR(ERROR_ILLEGAL_OPTION, "illegal option"); REG_ERROR(ERROR_DEAD_PID, "dead process identifier"); REG_ERROR(ERROR_NOT_IMPLEMENTED, "not implemented"); REG_ERROR(ERROR_BAD_PARAMETER, "bad parameter"); REG_ERROR(ERROR_FORBIDDEN, "forbidden"); REG_ERROR(ERROR_OUT_OF_MEMORY_MMAP, "out of memory in mmap"); REG_ERROR(ERROR_CORRUPTED_CSV, "csv is corrupt"); REG_ERROR(ERROR_FILE_NOT_FOUND, "file not found"); REG_ERROR(ERROR_CANNOT_WRITE_FILE, "cannot write file"); REG_ERROR(ERROR_CANNOT_OVERWRITE_FILE, "cannot overwrite file"); REG_ERROR(ERROR_TYPE_ERROR, "type error"); REG_ERROR(ERROR_HTTP_BAD_PARAMETER, "bad parameter"); REG_ERROR(ERROR_HTTP_FORBIDDEN, "forbidden"); REG_ERROR(ERROR_HTTP_NOT_FOUND, "not found"); REG_ERROR(ERROR_HTTP_METHOD_NOT_ALLOWED, "method not supported"); REG_ERROR(ERROR_HTTP_SERVER_ERROR, "internal server error"); REG_ERROR(ERROR_HTTP_CORRUPTED_JSON, "invalid JSON object"); REG_ERROR(ERROR_HTTP_SUPERFLUOUS_SUFFICES, "superfluous URL suffices"); REG_ERROR(ERROR_ARANGO_ILLEGAL_STATE, "illegal state"); REG_ERROR(ERROR_ARANGO_SHAPER_FAILED, "illegal shaper"); REG_ERROR(ERROR_ARANGO_DATAFILE_SEALED, "datafile sealed"); REG_ERROR(ERROR_ARANGO_UNKNOWN_COLLECTION_TYPE, "unknown type"); REG_ERROR(ERROR_ARANGO_READ_ONLY, "ready only"); REG_ERROR(ERROR_ARANGO_DUPLICATE_IDENTIFIER, "duplicate identifier"); REG_ERROR(ERROR_ARANGO_DATAFILE_UNREADABLE, "datafile unreadable"); REG_ERROR(ERROR_ARANGO_CORRUPTED_DATAFILE, "corrupted datafile"); REG_ERROR(ERROR_ARANGO_ILLEGAL_PARAMETER_FILE, "illegal parameter file"); REG_ERROR(ERROR_ARANGO_CORRUPTED_COLLECTION, "corrupted collection"); REG_ERROR(ERROR_ARANGO_MMAP_FAILED, "mmap failed"); REG_ERROR(ERROR_ARANGO_FILESYSTEM_FULL, "filesystem full"); REG_ERROR(ERROR_ARANGO_NO_JOURNAL, "no journal"); REG_ERROR(ERROR_ARANGO_DATAFILE_ALREADY_EXISTS, "cannot create/rename datafile because it already exists"); REG_ERROR(ERROR_ARANGO_DATABASE_LOCKED, "database is locked"); REG_ERROR(ERROR_ARANGO_COLLECTION_DIRECTORY_ALREADY_EXISTS, "cannot create/rename collection because directory already exists"); REG_ERROR(ERROR_ARANGO_MSYNC_FAILED, "msync failed"); REG_ERROR(ERROR_ARANGO_CONFLICT, "conflict"); REG_ERROR(ERROR_ARANGO_WRONG_VOCBASE_PATH, "wrong path for database"); REG_ERROR(ERROR_ARANGO_DOCUMENT_NOT_FOUND, "document not found"); REG_ERROR(ERROR_ARANGO_COLLECTION_NOT_FOUND, "collection not found"); REG_ERROR(ERROR_ARANGO_COLLECTION_PARAMETER_MISSING, "parameter 'collection' not found"); REG_ERROR(ERROR_ARANGO_DOCUMENT_HANDLE_BAD, "illegal document handle"); REG_ERROR(ERROR_ARANGO_MAXIMAL_SIZE_TOO_SMALL, "maixmal size of journal too small"); REG_ERROR(ERROR_ARANGO_DUPLICATE_NAME, "duplicate name"); REG_ERROR(ERROR_ARANGO_ILLEGAL_NAME, "illegal name"); REG_ERROR(ERROR_ARANGO_NO_INDEX, "no suitable index known"); REG_ERROR(ERROR_ARANGO_UNIQUE_CONSTRAINT_VIOLATED, "unique constraint violated"); REG_ERROR(ERROR_ARANGO_GEO_INDEX_VIOLATED, "geo index violated"); REG_ERROR(ERROR_ARANGO_INDEX_NOT_FOUND, "index not found"); REG_ERROR(ERROR_ARANGO_CROSS_COLLECTION_REQUEST, "cross collection request not allowed"); REG_ERROR(ERROR_ARANGO_INDEX_HANDLE_BAD, "illegal index handle"); REG_ERROR(ERROR_ARANGO_CAP_CONSTRAINT_ALREADY_DEFINED, "cap constraint already defined"); REG_ERROR(ERROR_ARANGO_DOCUMENT_TOO_LARGE, "document too large"); REG_ERROR(ERROR_ARANGO_COLLECTION_NOT_UNLOADED, "collection must be unloaded"); REG_ERROR(ERROR_ARANGO_COLLECTION_TYPE_INVALID, "collection type invalid"); REG_ERROR(ERROR_ARANGO_VALIDATION_FAILED, "validator failed"); REG_ERROR(ERROR_ARANGO_PARSER_FAILED, "parser failed"); REG_ERROR(ERROR_ARANGO_DOCUMENT_KEY_BAD, "illegal document key"); REG_ERROR(ERROR_ARANGO_DOCUMENT_KEY_UNEXPECTED, "unexpected document key"); REG_ERROR(ERROR_ARANGO_INDEX_NEEDS_RESIZE, "index needs resizing"); REG_ERROR(ERROR_ARANGO_DATADIR_NOT_WRITABLE, "database directory not writable"); REG_ERROR(ERROR_ARANGO_OUT_OF_KEYS, "out of keys"); REG_ERROR(ERROR_ARANGO_DATAFILE_FULL, "datafile full"); REG_ERROR(ERROR_QUERY_KILLED, "query killed"); REG_ERROR(ERROR_QUERY_PARSE, "%s"); REG_ERROR(ERROR_QUERY_EMPTY, "query is empty"); REG_ERROR(ERROR_QUERY_SCRIPT, "runtime error '%s'"); REG_ERROR(ERROR_QUERY_NUMBER_OUT_OF_RANGE, "number out of range"); REG_ERROR(ERROR_QUERY_VARIABLE_NAME_INVALID, "variable name '%s' has an invalid format"); REG_ERROR(ERROR_QUERY_VARIABLE_REDECLARED, "variable '%s' is assigned multiple times"); REG_ERROR(ERROR_QUERY_VARIABLE_NAME_UNKNOWN, "unknown variable '%s'"); REG_ERROR(ERROR_QUERY_COLLECTION_LOCK_FAILED, "unable to read-lock collection %s"); REG_ERROR(ERROR_QUERY_TOO_MANY_COLLECTIONS, "too many collections"); REG_ERROR(ERROR_QUERY_DOCUMENT_ATTRIBUTE_REDECLARED, "document attribute '%s' is assigned multiple times"); REG_ERROR(ERROR_QUERY_FUNCTION_NAME_UNKNOWN, "usage of unknown function '%s'"); REG_ERROR(ERROR_QUERY_FUNCTION_ARGUMENT_NUMBER_MISMATCH, "invalid number of arguments for function '%s'"); REG_ERROR(ERROR_QUERY_FUNCTION_ARGUMENT_TYPE_MISMATCH, "invalid argument type used in call to function '%s()'"); REG_ERROR(ERROR_QUERY_INVALID_REGEX, "invalid regex argument value used in call to function '%s()'"); REG_ERROR(ERROR_QUERY_BIND_PARAMETERS_INVALID, "invalid structure of bind parameters"); REG_ERROR(ERROR_QUERY_BIND_PARAMETER_MISSING, "no value specified for declared bind parameter '%s'"); REG_ERROR(ERROR_QUERY_BIND_PARAMETER_UNDECLARED, "bind parameter '%s' was not declared in the query"); REG_ERROR(ERROR_QUERY_BIND_PARAMETER_TYPE, "bind parameter '%s' has an invalid value or type"); REG_ERROR(ERROR_QUERY_INVALID_LOGICAL_VALUE, "invalid logical value"); REG_ERROR(ERROR_QUERY_INVALID_ARITHMETIC_VALUE, "invalid arithmetic value"); REG_ERROR(ERROR_QUERY_DIVISION_BY_ZERO, "division by zero"); REG_ERROR(ERROR_QUERY_LIST_EXPECTED, "list expected"); REG_ERROR(ERROR_QUERY_FAIL_CALLED, "FAIL(%s) called"); REG_ERROR(ERROR_QUERY_GEO_INDEX_MISSING, "no suitable geo index found for geo restriction on '%s'"); REG_ERROR(ERROR_QUERY_FULLTEXT_INDEX_MISSING, "no suitable fulltext index found for fulltext query on '%s'"); REG_ERROR(ERROR_CURSOR_NOT_FOUND, "cursor not found"); REG_ERROR(ERROR_TRANSACTION_INCOMPLETE, "transaction definition is incomplete"); REG_ERROR(ERROR_TRANSACTION_INVALID_STATE, "invalid transaction state"); REG_ERROR(ERROR_TRANSACTION_NESTED, "nested transactions detected"); REG_ERROR(ERROR_TRANSACTION_INTERNAL, "internal transaction error"); REG_ERROR(ERROR_TRANSACTION_UNREGISTERED_COLLECTION, "unregistered collection used in transaction"); REG_ERROR(ERROR_USER_INVALID_NAME, "invalid user name"); REG_ERROR(ERROR_USER_INVALID_PASSWORD, "invalid password"); REG_ERROR(ERROR_USER_DUPLICATE, "duplicate user"); REG_ERROR(ERROR_USER_NOT_FOUND, "user not found"); REG_ERROR(ERROR_APPLICATION_NOT_FOUND, "application not found"); REG_ERROR(ERROR_KEYVALUE_INVALID_KEY, "invalid key declaration"); REG_ERROR(ERROR_KEYVALUE_KEY_EXISTS, "key already exists"); REG_ERROR(ERROR_KEYVALUE_KEY_NOT_FOUND, "key not found"); REG_ERROR(ERROR_KEYVALUE_KEY_NOT_UNIQUE, "key is not unique"); REG_ERROR(ERROR_KEYVALUE_KEY_NOT_CHANGED, "key value not changed"); REG_ERROR(ERROR_KEYVALUE_KEY_NOT_REMOVED, "key value not removed"); REG_ERROR(ERROR_KEYVALUE_NO_VALUE, "missing value"); REG_ERROR(ERROR_GRAPH_INVALID_GRAPH, "invalid graph"); REG_ERROR(ERROR_GRAPH_COULD_NOT_CREATE_GRAPH, "could not create graph"); REG_ERROR(ERROR_GRAPH_INVALID_VERTEX, "invalid vertex"); REG_ERROR(ERROR_GRAPH_COULD_NOT_CREATE_VERTEX, "could not create vertex"); REG_ERROR(ERROR_GRAPH_COULD_NOT_CHANGE_VERTEX, "could not change vertex"); REG_ERROR(ERROR_GRAPH_INVALID_EDGE, "invalid edge"); REG_ERROR(ERROR_GRAPH_COULD_NOT_CREATE_EDGE, "could not create edge"); REG_ERROR(ERROR_GRAPH_COULD_NOT_CHANGE_EDGE, "could not change edge"); REG_ERROR(ERROR_SESSION_INVALID_SESSION, "invalid session"); REG_ERROR(ERROR_SESSION_COULD_NOT_CREATE_SESSION, "could not create session"); REG_ERROR(ERROR_SESSION_COULD_NOT_CHANGE_SESSION, "could not change session"); REG_ERROR(ERROR_SESSION_INVALID_FORM, "invalid form"); REG_ERROR(ERROR_SESSION_COULD_NOT_CREATE_FORM, "could not create form"); REG_ERROR(ERROR_SESSION_COULD_NOT_CHANGE_FORM, "could not change form"); REG_ERROR(SIMPLE_CLIENT_UNKNOWN_ERROR, "unknown client error"); REG_ERROR(SIMPLE_CLIENT_COULD_NOT_CONNECT, "could not connect to server"); REG_ERROR(SIMPLE_CLIENT_COULD_NOT_WRITE, "could not write to server"); REG_ERROR(SIMPLE_CLIENT_COULD_NOT_READ, "could not read from server"); REG_ERROR(ERROR_ARANGO_INDEX_PQ_INSERT_FAILED, "priority queue insert failure"); REG_ERROR(ERROR_ARANGO_INDEX_PQ_REMOVE_FAILED, "priority queue remove failure"); REG_ERROR(ERROR_ARANGO_INDEX_PQ_REMOVE_ITEM_MISSING, "priority queue remove failure - item missing in index"); REG_ERROR(ERROR_ARANGO_INDEX_HASH_INSERT_ITEM_DUPLICATED, "(non-unique) hash index insert failure - document duplicated in index"); REG_ERROR(ERROR_ARANGO_INDEX_SKIPLIST_INSERT_ITEM_DUPLICATED, "(non-unique) skiplist index insert failure - document duplicated in index"); REG_ERROR(WARNING_ARANGO_INDEX_HASH_DOCUMENT_ATTRIBUTE_MISSING, "hash index insertion warning - attribute missing in document"); REG_ERROR(WARNING_ARANGO_INDEX_HASH_UPDATE_ATTRIBUTE_MISSING, "hash index update warning - attribute missing in revised document"); REG_ERROR(WARNING_ARANGO_INDEX_HASH_REMOVE_ITEM_MISSING, "hash index remove failure - item missing in index"); REG_ERROR(WARNING_ARANGO_INDEX_SKIPLIST_DOCUMENT_ATTRIBUTE_MISSING, "skiplist index insertion warning - attribute missing in document"); REG_ERROR(WARNING_ARANGO_INDEX_SKIPLIST_UPDATE_ATTRIBUTE_MISSING, "skiplist index update warning - attribute missing in revised document"); REG_ERROR(WARNING_ARANGO_INDEX_SKIPLIST_REMOVE_ITEM_MISSING, "skiplist index remove failure - item missing in index"); REG_ERROR(WARNING_ARANGO_INDEX_BITARRAY_DOCUMENT_ATTRIBUTE_MISSING, "bitarray index insertion warning - attribute missing in document"); REG_ERROR(WARNING_ARANGO_INDEX_BITARRAY_UPDATE_ATTRIBUTE_MISSING, "bitarray index update warning - attribute missing in revised document"); REG_ERROR(WARNING_ARANGO_INDEX_BITARRAY_REMOVE_ITEM_MISSING, "bitarray index remove failure - item missing in index"); REG_ERROR(ERROR_ARANGO_INDEX_BITARRAY_INSERT_ITEM_UNSUPPORTED_VALUE, "bitarray index insert failure - document attribute value unsupported in index"); REG_ERROR(ERROR_ARANGO_INDEX_BITARRAY_CREATION_FAILURE_DUPLICATE_ATTRIBUTES, "bitarray index creation failure - one or more index attributes are duplicated."); REG_ERROR(ERROR_ARANGO_INDEX_BITARRAY_CREATION_FAILURE_DUPLICATE_VALUES, "bitarray index creation failure - one or more index attribute values are duplicated."); REG_ERROR(RESULT_KEY_EXISTS, "element not inserted into structure, because key already exists"); REG_ERROR(RESULT_ELEMENT_EXISTS, "element not inserted into structure, because it already exists"); REG_ERROR(RESULT_KEY_NOT_FOUND, "key not found in structure"); REG_ERROR(RESULT_ELEMENT_NOT_FOUND, "element not found in structure"); } //////////////////////////////////////////////////////////////////////////////// /// @} ////////////////////////////////////////////////////////////////////////////////