> ## Documentation Index
> Fetch the complete documentation index at: https://docs.subotiz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 错误处理

Subotiz 使用常规 HTTP 响应代码来指示 API 请求的成功或失败。
常见错误码：

* 2xx：表示成功。
* 4xx：表示客户端侧的错误（例如缺少必需参数、扣款失败等）。
* 5xx：表示 Subotiz 服务器处理过程中发生错误。

## 错误格式

当请求错误时，会以固定形式返回错误提示：

| **属性**  | **类型** | **描述** |
| :------ | :----- | :----- |
| code    | string | 业务错误码  |
| message | string | 错误原因   |
