servds / src /lib /consts /exceptions.ts
ffreemt
Update local files instead of git clone
813eca2
raw
history blame
No virus
232 Bytes
export default {
SYSTEM_ERROR: [-1000, '系统异常'],
SYSTEM_REQUEST_VALIDATION_ERROR: [-1001, '请求参数校验错误'],
SYSTEM_NOT_ROUTE_MATCHING: [-1002, '无匹配的路由']
} as Record<string, [number, string]>