• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2025 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef NAPI_SOFTBUS_ENHANCE_ERROR_CODE_
17 #define NAPI_SOFTBUS_ENHANCE_ERROR_CODE_
18 
19 #define LINK_ENHANCE_PERMISSION_DENIED 201
20 
21 #define LINK_ENHANCE_CONNECT_TIMEOUT 32390200
22 #define LINK_ENHANCE_CONNECT_PEER_NOT_START_SERVICE 32390201
23 #define LINK_ENHANCE_SERVERS_EXCEEDS 32390202
24 #define LINK_ENHANCE_DUPLICATE_SERVER_NAME 32390203
25 #define LINK_ENHANCE_CONNECTIONS_EXCEEDS 32390204
26 #define LINK_ENHANCE_CONNECTION_NOT_READY 32390205
27 #define LINK_ENHANCE_PARAMETER_INVALID 32390206
28 
29 #define LINK_ENHANCE_INTERVAL_ERR 32390300
30 #define LINK_ENHANCE_SERVER_DIED 32390301
31 
32 #endif /* NAPI_SOFTBUS_ENHANCE_ERROR_CODE_ */