mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
[skip ci]Fix error code doc (#8160)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
This commit is contained in:
parent
46871fcaec
commit
88259ad398
@ -4,33 +4,35 @@
|
|||||||
|
|
||||||
```protobuf
|
```protobuf
|
||||||
enum ErrorCode {
|
enum ErrorCode {
|
||||||
SUCCESS = 0;
|
Success = 0;
|
||||||
UNEXPECTED_ERROR = 1;
|
UnexpectedError = 1;
|
||||||
CONNECT_FAILED = 2;
|
ConnectFailed = 2;
|
||||||
PERMISSION_DENIED = 3;
|
PermissionDenied = 3;
|
||||||
COLLECTION_NOT_EXISTS = 4;
|
CollectionNotExists = 4;
|
||||||
ILLEGAL_ARGUMENT = 5;
|
IllegalArgument = 5;
|
||||||
ILLEGAL_DIMENSION = 7;
|
IllegalDimension = 7;
|
||||||
ILLEGAL_INDEX_TYPE = 8;
|
IllegalIndexType = 8;
|
||||||
ILLEGAL_COLLECTION_NAME = 9;
|
IllegalCollectionName = 9;
|
||||||
ILLEGAL_TOPK = 10;
|
IllegalTOPK = 10;
|
||||||
ILLEGAL_ROWRECORD = 11;
|
IllegalRowRecord = 11;
|
||||||
ILLEGAL_VECTOR_ID = 12;
|
IllegalVectorID = 12;
|
||||||
ILLEGAL_SEARCH_RESULT = 13;
|
IllegalSearchResult = 13;
|
||||||
FILE_NOT_FOUND = 14;
|
FileNotFound = 14;
|
||||||
META_FAILED = 15;
|
MetaFailed = 15;
|
||||||
CACHE_FAILED = 16;
|
CacheFailed = 16;
|
||||||
CANNOT_CREATE_FOLDER = 17;
|
CannotCreateFolder = 17;
|
||||||
CANNOT_CREATE_FILE = 18;
|
CannotCreateFile = 18;
|
||||||
CANNOT_DELETE_FOLDER = 19;
|
CannotDeleteFolder = 19;
|
||||||
CANNOT_DELETE_FILE = 20;
|
CannotDeleteFile = 20;
|
||||||
BUILD_INDEX_ERROR = 21;
|
BuildIndexError = 21;
|
||||||
ILLEGAL_NLIST = 22;
|
IllegalNLIST = 22;
|
||||||
ILLEGAL_METRIC_TYPE = 23;
|
IllegalMetricType = 23;
|
||||||
OUT_OF_MEMORY = 24;
|
OutOfMemory = 24;
|
||||||
|
IndexNotExist = 25;
|
||||||
|
EmptyCollection = 26;
|
||||||
|
|
||||||
// internal error code.
|
// internal error code.
|
||||||
DD_REQUEST_RACE = 1000;
|
DDRequestRace = 1000;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user