errorcode-net-connection.md 2.4 KB
Newer Older
S
shawn_he 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
# Network Connection Management 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**

1. The memory is abnormal.

2. A null pointer is present.

**Procedure**

1. Check whether the memory space is sufficient. If not, clear the memory and try again.

2. 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**

1. Check whether the **callback** object has been registered.
2. 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.