mirror of
https://github.com/LLM-Red-Team/step-free-api.git
synced 2025-10-19 10:07:50 +00:00
first commit
This commit is contained in:
5
src/lib/consts/exceptions.ts
Normal file
5
src/lib/consts/exceptions.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export default {
|
||||
SYSTEM_ERROR: [-1000, '系统异常'],
|
||||
SYSTEM_REQUEST_VALIDATION_ERROR: [-1001, '请求参数校验错误'],
|
||||
SYSTEM_NOT_ROUTE_MATCHING: [-1002, '无匹配的路由']
|
||||
} as Record<string, [number, string]>
|
Reference in New Issue
Block a user