harmony 鸿蒙Network Connection Management Error Codes
Network Connection Management Error Codes
NOTE
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
2100001 Invalid Parameter Value
Error Message
Invalid parameter value.
Description
This error code is reported if the parameter value is invalid.
Cause
The input parameter value is not within the valid value range.
Procedure
Check whether the input parameter value is within the valid value range.
2100002 Service Connection Failure
Error Message
Operation failed. Cannot connect to service.
Description
This error code is reported if a service connection failure occurs.
Cause
The service is abnormal.
Procedure
Check whether system services are running properly.
2100003 System Internal Error
Error Message
System internal error.
Description
This error code is reported if a system internal error occurs.
Cause
The memory is abnormal.
A null pointer is present.
Procedure
Check whether the memory space is sufficient. If not, clear the memory and try again.
Check whether the system is normal. If not, try again later or restart the device.
2101007 Callback Already Exists
Error Message
The same callback exists.
Description
This error code is reported if the same callback already exists.
Cause
The callback object has been registered for activating a network or listening to network status changes.
Procedure
- Check whether the callback object has been registered.
- If the callback object has been registered, use the registered callback object.
2101008 Callback Not Exist
Error Message
The callback is not exists.
Description
This error code is reported if a callback object to be unregistered does not exist.
Cause
The callback object has not been registered for activating a network or listening to network status changes.
Procedure
Before unregistering a callback object, make sure that it has been registered for activating a network or listening to network status changes.
2101022 Number of Requests Exceeding the Maximum
Error Message
The number of requests exceeded the maximum.
Description
This error code is reported if the number of network requests exceeds the maximum.
Cause
The number of requests for activating a network or listening to network status changes has reached the maximum value.
Procedure
Locate the fault based on the “Over the max request number” log record.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DeviceUsageStatistics Error Codes
harmony 鸿蒙DistributedNotificationService Error Codes
harmony 鸿蒙Distributed Scheduler Error Codes
harmony 鸿蒙Access Control Error Codes
harmony 鸿蒙Accessibility Error Codes
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦