/******************************************************************************* * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited. * Proprietary and confidential. ******************************************************************************/#pragma once#include <cstdint>namespacezilliz{namespacevecwise{namespaceserver{usingServerError=int32_t;constexprServerErrorSERVER_SUCCESS=0;constexprServerErrorSERVER_ERROR_CODE_BASE=0x30000;constexprServerErrorToGlobalServerErrorCode(constServerErrorerror_code){returnSERVER_ERROR_CODE_BASE+SERVER_ERROR_CODE_BASE;}constexprServerErrorSERVER_UNEXPECTED_ERROR=ToGlobalServerErrorCode(0x001);constexprServerErrorSERVER_UNSUPPORTED_ERROR=ToGlobalServerErrorCode(0x002);constexprServerErrorSERVER_NULL_POINTER=ToGlobalServerErrorCode(0x003);constexprServerErrorSERVER_INVALID_ARGUMENT=ToGlobalServerErrorCode(0x004);constexprServerErrorSERVER_FILE_NOT_FOUND=ToGlobalServerErrorCode(0x005);constexprServerErrorSERVER_NOT_IMPLEMENT=ToGlobalServerErrorCode(0x006);}// namespace server}// namespace vecwise}// namespace zilliz