pymilvus Exceptions

Module Contents

class milvus.Status(code=0, message='Success')[source]

Bases: object

Attribute code

int (optional) default as ok

Attribute message

str (optional) current status message

BUILD_INDEX_ERROR = 21
CACHE_FAILED = 16
CANNOT_CREATE_FILE = 18
CANNOT_CREATE_FOLDER = 17
CANNOT_DELETE_FILE = 20
CANNOT_DELETE_FOLDER = 19
CONNECT_FAILED = 2
FILE_NOT_FOUND = 14
ILLEGAL_ARGUMENT = 5
ILLEGAL_DIMENSION = 7
ILLEGAL_INDEX_TYPE = 8
ILLEGAL_METRIC_TYPE = 23
ILLEGAL_NLIST = 22
ILLEGAL_RANGE = 6
ILLEGAL_ROWRECORD = 11
ILLEGAL_SEARCH_RESULT = 13
ILLEGAL_TABLE_NAME = 9
ILLEGAL_TOPK = 10
ILLEGAL_VECTOR_ID = 12
META_FAILED = 15
OK()[source]
OUT_OF_MEMORY = 24
PERMISSION_DENIED = 3
SUCCESS = 0
TABLE_NOT_EXISTS = 4
UNEXPECTED_ERROR = 1