# 错误码

### CloudAPIRequestErrCode类

该类为一些错误码的静态常量

### 数据介绍

#### 登录相关

|  错误码  |            常量名           |      作用      |
| :---: | :----------------------: | :----------: |
| 10000 |     PHONENUMBER\_ERR     | 账号错误，请检查登录账号 |
| 10001 |       PASSWORD\_ERR      | 密码错误，请检查登录密码 |
| 10002 |   LOGGING\_REQUEST\_ERR  |   请求登录链接出错   |
| 10003 | REGISTER\_PASSWORD\_ERR1 |    两次密码不匹配   |
| 10004 | REGISTER\_REGISTER\_ERR2 |    注册请求出错    |
| 10005 |    BACK\_PASSWORD\_ERR   |    重置密码出错    |
| 10006 |     NOT\_LOGGING\_ERR    | 没有登录，此操作需要登录 |
| 10007 |      SID\_NULL\_ERR      |     SID为空    |
| 10008 |      DID\_NULL\_ERR      |    设备ID为空    |
| 10009 |   ALTER\_PASSWORD\_ERR   |    修改密码错误    |

#### 效验码相关

|  错误码  |             常量名             |    作用   |
| :---: | :-------------------------: | :-----: |
| 10100 | IDENTIFYING\_CODE\_GET\_ERR | 效验码获取错误 |
| 10101 |    IDENTIFYING\_CODE\_ERR   |  效验码不匹配 |

#### Device相关的操作

|  错误码  |            常量名            |     作用    |
| :---: | :-----------------------: | :-------: |
| 20000 | REQUEST\_ALL\_DEVICE\_ERR | 获取所有的设备错误 |
| 20001 |     SHARE\_DEVICE\_ERR    |   分享设备错误  |
| 20002 |    REMOVE\_DEVICE\_ERR    |   删除设备错误  |

#### JSON错误

|  错误码  |    常量名    |    作用    |
| :---: | :-------: | :------: |
| 11000 | JSON\_ERR | JSON解析出错 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.youzhuan.net/ctrl-host/yun-dui-jie/cuo-wu-ma.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
