Download src/lib/consts/exceptions.ts from alcex/duck2api: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/spaces/alcex/duck2api/resolve/main/src/lib/consts/exceptions.ts
- Command line
-
hf download hf://spaces/alcex/duck2api/src/lib/consts/exceptions.ts
-
curl -L -o exceptions.ts https://huggingface.co/spaces/alcex/duck2api/resolve/main/src/lib/consts/exceptions.ts
232 Bytes
| export default { | |
| SYSTEM_ERROR: [-1000, '系统异常'], | |
| SYSTEM_REQUEST_VALIDATION_ERROR: [-1001, '请求参数校验错误'], | |
| SYSTEM_NOT_ROUTE_MATCHING: [-1002, '无匹配的路由'] | |
| } as Record<string, [number, string]> |