feat(types,model): 实现阶段 1 基础设施 — 错误码、AppError、配置模型、核心接口
This commit is contained in:
@@ -1 +1,12 @@
|
||||
package types
|
||||
|
||||
const (
|
||||
CodeSuccess = "0000"
|
||||
InfoSuccess = "success"
|
||||
CodeUnknownError = "0001"
|
||||
InfoUnknownError = "unknown error"
|
||||
CodeIllegalParameter = "0002"
|
||||
InfoIllegalParameter = "illegal parameter"
|
||||
CodeAgentNotFound = "0003"
|
||||
InfoAgentNotFound = "agent not found"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user