errorcode-window.md 2.2 KB
Newer Older
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
# Window Error Codes

## 1300001 Repeated Operation
**Error Message**
Repeated operation.

**Description**
This error code is reported when a repeated operation is performed.

**Possible Causes**
The window to create already exists.

**Procedure**
Before creating a window, check whether the window already exists. If it already exists, use it directly.

## 1300002 Abnormal Window State
**Error Message**
This window state is abnormal.

**Description**
This error code is reported when you operate a window in an abnormal state, for example, a window that has been destroyed.

**Possible Causes**
The window has been destroyed when being operated.

**Procedure**
Before operating the window, check whether it exists.

## 1300003 Abnormal Window Manager Service
**Error Message**
This window manager service works abnormally.

**Description**
This error code is reported when the window manager service is abnormal.

**Possible Causes**
The internal services of the window are not started normally.

**Procedure**
Try again later or restart the device.

## 1300004 Unauthorized Operation
**Error Message**
Unauthorized operation.

**Description**
This error code is reported when the API does not have the required permissions to operate an object.

**Possible Causes**
The window object of another process is operated.

**Procedure**
Check whether unauthorized operations are performed on the object of another process. If yes, delete the operations.

## 1300005 Abnormal Window Stage
**Error Message**
This window stage is abnormal.

**Description**
This error code is reported when you operate a window stage in the abnormal state, for example, a window stage that has been destroyed.

**Possible Causes**
The window stage has been destroyed when being operated.

**Procedure**
Before operating a window stage, check whether it exists.

## 1300006 Abnormal Window Context
**Error Message**
This window context is abnormal.

**Description**
This error code is reported when you operate a window context in the abnormal state, for example, a window context that has been destroyed.

**Possible Causes**
The window context has been destroyed when being operated.

**Procedure**
Before operating the window context, check whether it exists.