mirror of https://gitee.com/bigwinds/arangodb
more places to change error codes
This commit is contained in:
parent
15304b705b
commit
48d85506d9
|
@ -95,7 +95,7 @@ ERROR_ARANGO_SYNC_TIMEOUT,1111,"sync timeout","Will be raised when the server wa
|
|||
ERROR_ARANGO_CONFLICT,1200,"conflict","Will be raised when updating or deleting a document and a conflict has been detected."
|
||||
ERROR_ARANGO_DATADIR_INVALID,1201,"invalid database directory","Will be raised when a non-existing database directory was specified when starting the database."
|
||||
ERROR_ARANGO_DOCUMENT_NOT_FOUND,1202,"document not found","Will be raised when a document with a given identifier or handle is unknown."
|
||||
ERROR_ARANGO_COLLECTION_NOT_FOUND,1203,"collection not found","Will be raised when a collection with the given identifier or name is unknown."
|
||||
ERROR_ARANGO_DATA_SOURCE_NOT_FOUND,1203,"collection or view not found","Will be raised when a collection with the given identifier or name is unknown."
|
||||
ERROR_ARANGO_COLLECTION_PARAMETER_MISSING,1204,"parameter 'collection' not found","Will be raised when the collection parameter is missing."
|
||||
ERROR_ARANGO_DOCUMENT_HANDLE_BAD,1205,"illegal document handle","Will be raised when a document handle is corrupt."
|
||||
ERROR_ARANGO_MAXIMAL_SIZE_TOO_SMALL,1206,"maximal size of journal too small","Will be raised when the maximal size of the journal is too small."
|
||||
|
@ -103,7 +103,6 @@ ERROR_ARANGO_DUPLICATE_NAME,1207,"duplicate name","Will be raised when a name du
|
|||
ERROR_ARANGO_ILLEGAL_NAME,1208,"illegal name","Will be raised when an illegal name is detected."
|
||||
ERROR_ARANGO_NO_INDEX,1209,"no suitable index known","Will be raised when no suitable index for the query is known."
|
||||
ERROR_ARANGO_UNIQUE_CONSTRAINT_VIOLATED,1210,"unique constraint violated","Will be raised when there is a unique constraint violation."
|
||||
ERROR_ARANGO_VIEW_NOT_FOUND,1211,"view not found","Will be raised when a view with the given identifier or name is unknown."
|
||||
ERROR_ARANGO_INDEX_NOT_FOUND,1212,"index not found","Will be raised when an index with a given identifier is unknown."
|
||||
ERROR_ARANGO_CROSS_COLLECTION_REQUEST,1213,"cross collection request not allowed","Will be raised when a cross-collection is requested."
|
||||
ERROR_ARANGO_INDEX_HANDLE_BAD,1214,"illegal index handle","Will be raised when a index handle is corrupt."
|
||||
|
|
|
@ -344,7 +344,7 @@ constexpr int TRI_ERROR_ARANGO_DATADIR_INVALID
|
|||
/// Will be raised when a document with a given identifier or handle is unknown.
|
||||
constexpr int TRI_ERROR_ARANGO_DOCUMENT_NOT_FOUND = 1202;
|
||||
|
||||
/// 1203: ERROR_ARANGO_COLLECTION_NOT_FOUND
|
||||
/// 1203: ERROR_ARANGO_DATA_SOURCE_NOT_FOUND
|
||||
/// "collection not found"
|
||||
/// Will be raised when a collection with the given identifier or name is
|
||||
/// unknown.
|
||||
|
|
Loading…
Reference in New Issue