# 类型
类型错误分为两种:固定错误码错误和场景相关错误。
## 固定错误码错误
这类错误在代码中能够被明确捕获,并且会为每个错误分配一个固定的错误码。错误码由错误类型和 ID 组成,例如 `TYPE-001`。
### 错误码列表
- [TYPE-001](#type-001)
## TYPE-001
Failed to generate type declaration. Execute the below cmd to reproduce and fix the error.
- Error Code:
TYPE-001