> For the complete documentation index, see [llms.txt](https://smallso.gitbook.io/tencent-cloud-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smallso.gitbook.io/tencent-cloud-sdk/python-docs/serverless-functions/exceptions/status-error.md).

# StatusError 异常

## 简要

该异常指示被操作资源或对象当前的状态不符合预期。

```python
class StatusError(errors.ClientError)
```

继承：`tencent.cloud.core.errors.ClientError` 类

该异常类包含的可公开访问属性和属性描述如下：

| 属性             | 类型  | 描述                                |
| -------------- | --- | --------------------------------- |
| error\_message | str | 错误描述。                             |
| request\_id    | str | 出错的无服务器云函数调用唯一标识符（Request ID）字符串。 |

## 适用于

#### Tencent Cloud SDK for Python

产品软件包：tencent-cloud-sdk-serverless-functions >= 0.1.1
