ErrLookup › flipped-aurora/gin-vue-admin
flipped-aurora/gin-vue-admin
🚀Vite+Vue3+Gin拥有AI辅助的基础开发平台,企业级业务AI+开发解决方案,内置mcp辅助服务,内置skills管理,支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器、表单生成器和可配置的导入导出等开发必备功能。 · Go · 624 source files
Analyzed at 3136500ef3 on 2026-08-31. 482 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| LLM stream failed | exception | error | sse, streaming, llm, frontend |
| LLM request failed | exception | error | sse, http, json, llm, frontend |
| LLM stream request timed out | exception | error | timeout, streaming, sse, llm, network |
| copy failed | exception | warning | clipboard, browser, dom |
| 当前响应不支持流式输出 | error_code | error | gin, sse, streaming, backend, go |
| 当前响应不支持流式输出 | error_code | error | gin, sse, streaming, backend, go |
| 未找到 MCP 独立配置文件,请在当前目录、cmd/mcp 目录或通过 -config / GVA_MCP_CONFIG | exception | error | config, mcp, go, startup |
| 未能自动识别项目根目录,请在 MCP 配置中设置 autocode.root | exception | error | config, mcp, go, startup |
| go.mod 中未找到 module 定义 | exception | error | go, gomod, config, mcp |
| path 参数是必需的 | validation | error | mcp, missing-argument, validation |
| description 参数是必需的 | validation | error | mcp, missing-argument, validation |
| apiGroup 参数是必需的 | validation | error | mcp, missing-argument, validation |
| 没有要创建的API | validation | error | mcp, empty-input, validation |
| server name mismatch | validation | error | mcp, handshake, server-mismatch |
| dictType 参数是必需的 | validation | error | mcp, missing-argument, dictionary |
| fieldDesc 参数是必需的 | validation | error | mcp, missing-argument, dictionary |
| options 参数是必需的 | validation | error | mcp, missing-argument, json-string |
| options 不能为空 | validation | error | mcp, empty-input, dictionary |
| autocode根路径未配置 | exception | error | config, autocode, missing-env-var |
| 参数错误:executionPlan 必须提供 | validation | error | mcp, missing-argument, go, validation |
| packageName 不能为空 | validation | error | mcp, validation, go, execution-plan |
| packageType 必须是 'package' 或 'plugin' | validation | error | mcp, validation, enum, go |
| packageType 和 packageInfo.template 必须保持一致 | validation | error | mcp, validation, consistency, go |
| 当 needCreatedPackage=true 时,packageInfo 不能为空 | validation | error | mcp, validation, go, null-check |
| packageInfo.packageName 不能为空 | validation | error | mcp, validation, go, execution-plan |
| packageInfo.template 必须是 'package' 或 'plugin' | validation | error | mcp, validation, enum, go |
| packageInfo.label 不能为空 | validation | error | mcp, validation, go, execution-plan |
| packageInfo.desc 不能为空 | validation | error | mcp, validation, go, execution-plan |
| 当 needCreatedModules=true 时,modulesInfo 不能为空 | validation | error | mcp, validation, go, execution-plan |
| 参数错误:userRequirement 必须提供 | validation | error | mcp, validation, go, missing-argument |
| 参数错误:userRequirement 必须是字符串类型 | validation | error | mcp, type-error, go, validation |
| 参数错误:generatedFiles 必须提供 | validation | error | mcp, validation, go, missing-argument |
| 参数错误:generatedFiles 必须是JSON字符串 | validation | error | mcp, type-error, json, go |
| 参数错误:generatedFiles 不能为空 | validation | error | mcp, validation, empty-input, go |
| result.Msg | http | error | http, upstream, network, go, error-mapping |
| path 参数是必需的 | validation | error | mcp, validation, go, missing-argument |
| name 参数是必需的 | validation | error | mcp, validation, go, missing-argument |
| component 参数是必需的 | validation | error | mcp, validation, go, missing-argument |
| title 参数是必需的 | validation | error | mcp, parameter-validation, go, missing-argument |
| 参数是必需的,且至少包含一个ID | validation | error | mcp, parameter-validation, go, empty-list |
| deptIds 与 positionIds 至少需要传一个 | validation | error | mcp, parameter-validation, go, org-management |
| primaryDeptId 需与 deptIds 一起传入(主部门必须属于本次追加或已有的部门集合);仅调整主部门请到前 | validation | error | mcp, parameter-validation, go, org-management |
| dimension 仅支持 department|position|authority | validation | error | mcp, parameter-validation, go, invalid-enum |
| 参数错误:userRequirement 必须是非空字符串 | validation | error | mcp, validation, missing-parameter |
| path 参数是必需的 | validation | error | mcp, validation, missing-parameter |
| apis 参数是必需的,且至少包含一条 | validation | error | mcp, validation, empty-array |
| apis 数组元素缺少 path 字段 | validation | error | mcp, validation, missing-field, batch-input |
| apis 数组元素需为 {path,method} 对象或 "METHOD /path" 字符串 | validation | error | mcp, validation, type-mismatch, batch-input |
| apis 需为JSON数组或逗号分隔字符串 | validation | error | mcp, input-validation, request-format |
| 当前 MCP 服务不是由页面启动的,无法自动停用 | error_code | warning | mcp, process-lifecycle, golang |
| 未找到 server 根目录,无法启动 MCP 独立服务 | error_code | error | mcp, configuration, golang |
| 未检测到可用的 Go 环境,且本地没有可复用的 MCP 独立二进制 | error_code | error | mcp, environment, go-toolchain |
| 未找到 MCP 配置文件,请确认 cmd/mcp/config.yaml 或 server/config.yaml 存在 | error_code | error | mcp, configuration, yaml |
| 请求太过频繁,请稍后再试 | http | warning | rate-limit, middleware, http-429 |
| Package为空! | validation | error | autocode, validation, code-generator |
| cli名称不能为空 | validation | error | plugin, validation, ai-plugin |
| 存在同名CLI | validation | error | plugin, uniqueness, duplicate-record |
| apiId不能为空 | validation | error | validation, go, plugin-ai, binding |
| cliId不能为空 | validation | error | validation, go, plugin-ai, cli |
| 存在无效API | validation | error | validation, referential-integrity, go, plugin-ai |
| mcp名称不能为空 | validation | error | validation, go, plugin-ai, mcp |
| 存在同名MCP | validation | error | validation, duplicate, go, plugin-ai, mcp |
| 上传不在可合并状态(可能已在合并或已完成) | exception | warning | upload, concurrency, state-machine, race-condition |
| 整文件校验失败 | validation | error | upload, integrity, md5, checksum-mismatch |
| 请先前往插件市场个人中心获取 AiPath 并填写到 config.yaml 中 | exception | error | config, autocode, llm, missing-env-var |
| llmAuto 缺少 mode 参数 | validation | error | autocode, llm, validation, missing-parameter |
| 模板不能为空! | validation | error | autocode, validation, missing-parameter |
| page为表单生成器! | validation | error | autocode, validation, invalid-argument |
| PackageName不能为空! | validation | warning | validation, autocode, gin-vue-admin |
| 不能使用已保留的package name | validation | warning | validation, autocode, naming |
| 存在相同PackageName | validation | error | duplicate, database, autocode |
| 自动代码菜单名称冲突 | exception | error | menu-conflict, autocode, database |
| 自动代码数据库未初始化 | exception | critical | nil-pointer, database, initialization |
| 非标准插件,请按照文档自动迁移使用 | exception | error | plugin, archive-layout, autocode |
| arr | exception | error | plugin, path-parsing, autocode |
| 已存在同名插件,请自行手动安装 | exception | error | plugin, filesystem-conflict, duplicate |
| invalid plugin archive name | validation | warning | plugin, upload, filename-validation |
| server and web plugin names must match | validation | error | plugin-install, archive-validation, naming |
| plugin archive contains multiple server plugins | validation | error | plugin-install, archive-validation |
| plugin archive contains multiple web plugins | validation | error | plugin-install, archive-validation |
| invalid plugin archive | validation | error | plugin-install, archive-validation |
| parent plugin is not a directory | exception | error | plugin-install, filesystem |
| plugin already exists | exception | error | plugin-install, filesystem, conflict |
| autocode module is empty | exception | error | config, plugin-install, autocode |
| child plugin import cannot be blank or dot imported | exception | error | plugin-install, go-imports, codegen |
| parent plugin does not implement Register | exception | error | plugin-install, go-ast, codegen |
| web路径不存在 | exception | error | filesystem, plugin, autocode, path |
| server路径不存在 | exception | error | filesystem, plugin, autocode, path |
| invalid plugin type | validation | error | validation, plugin, api, params |
| 自动代码目标文件已被外部修改 | exception | error | autocode, conflict, concurrency, filesystem |
| 自动代码任务包含重复目标 | error_code | error | autocode, validation, duplicate, task |
| 自动代码任务提交参数不能为空 | error_code | error | autocode, nil-check, validation, go |
| 已经创建过此数据结构,请勿重复创建! | validation | error | autocode, duplicate, validation, business-logic |
| 已经创建过此数据结构或重复简称,请勿重复创建! | validation | error | autocode, duplicate, validation, preview |
| 存在相同api | validation | warning | duplicate-record, api-management, gorm, validation |
| 存在相同api路径 | validation | warning | duplicate-record, api-management, gorm, validation |
| 用户不存在 | error_code | error | user-not-found, api-token, jwt, gorm |
| 用户不具备该角色权限 | error_code | error | authorization, role, api-token, jwt |
| 存在相同角色id | validation | warning | duplicate-record, role, authority, validation |
| 查询角色数据失败 | error_code | error | role, record-not-found, gorm, error-masking |
| 该角色不存在 | error_code | error | role, record-not-found, gorm, concurrency |
| 此角色有用户正在使用禁止删除 | error_code | warning | role, referential-integrity, users, validation |
| 此角色存在子角色不允许删除 | error_code | warning | role, hierarchy, referential-integrity, validation |
| 父部门不存在 | error_code | error | department, validation, gorm, go |
| 父部门不能是自己 | validation | error | department, validation, cycle-detection, go |
| 部门ID不能为空 | validation | error | department, validation, go |
| 存在子部门,不允许删除 | error_code | error | department, referential-integrity, go |
| 该部门下存在用户,不允许删除 | error_code | error | department, user, referential-integrity, go |
| 存在相同的type,不允许创建 | validation | error | dictionary, uniqueness, duplicate, go |
| 请不要搞事 | error_code | error | dictionary, record-not-found, go |
| db type mismatch | error_code | error | go, database, initialization |
| 无可用初始化过程,请检查初始化是否已执行完成 | error_code | error | go, initialization, configuration |
| mssql config invalid | error_code | error | go, mssql, configuration |
| mysql config invalid | error_code | error | go, mysql, configuration |
| postgresql config invalid | error_code | error | go, postgresql, configuration |
| sqlite config invalid | error_code | error | go, sqlite, configuration |
| 日志月份格式不正确 | validation | warning | go, validation, log-viewer |
| 日志日期格式不正确 | validation | warning | go, validation, log-viewer |
| 日志文件路径不合法 | validation | error | go, security, path-traversal, log-viewer |
| 日志文件不存在 | error_code | warning | go, filesystem, log-viewer |
| 日志文件不可读取 | error_code | error | go, filesystem, log-viewer, file-permissions |
| 日志目录不可读取 | error_code | error | go, filesystem, log-viewer, configuration |
| 存在重复name,请修改name | validation | error | go, gin-vue-admin, menu, duplicate-key, validation |
| 父菜单不存在 | error_code | error | go, gin-vue-admin, menu, foreign-key, validation |
| 父菜单已被其他角色的首页占用,请先释放父菜单的首页权限 | error_code | error | go, gin-vue-admin, menu, authority, business-rule |
| 添加失败,请勿跨级操作 | error_code | error | go, gin-vue-admin, menu, authority, permission |
| 岗位ID不能为空 | validation | error | go, gin-vue-admin, position, validation |
| 该岗位下存在用户,不允许删除 | error_code | error | go, gin-vue-admin, position, referential-integrity |
| 数据库未初始化 | error_code | warning | database, initialization, gorm, graceful-degradation |
| 技能名称不合法 | validation | warning | validation, path-traversal, input-sanitization |
| 工具类型不能为空 | validation | error | validation, missing-parameter, request-binding |
| 技能不存在 | error_code | error | filesystem, not-found, stale-state |
| 技能目录异常 | error_code | error | filesystem, unexpected-file-type, integrity-check |
| 脚本类型不支持 | validation | error | validation, enum, go |
| 脚本已存在 | error_code | error | filesystem, conflict, go |
| 下载结果缺少 url | error_code | error | network, http, marketplace |
| 工具类型不支持 | validation | error | validation, enum, go |
| 文件名不合法 | validation | error | path-traversal, validation, file-io, go |
| name不能为空 | validation | error | validation, yaml, go, missing-field |
| 文件名不能为空 | validation | error | validation, missing-field, go |
| 任务名不能为空 | validation | error | validation, go, scheduled-task |
| params 必须是合法 JSON | validation | error | validation, json, go, scheduled-task |
| httpUrl 必须是合法的 http/https 地址 | validation | error | validation, url, http, go |
| httpHeader 必须是 {"Key":"Value"} 形式的 JSON 对象 | validation | error | validation, json, http-headers, go |
| 缺少任务 ID | validation | error | validation, go, primary-key, scheduled-task |
| 目标解析为内网/环回/链路本地地址, 已被 SSRF 防护拒绝(可在任务上开启"允许内网"豁免) | exception | warning | ssrf, security, network, go |
| 任务执行超时 | exception | warning | timeout, scheduled-task, go, http |
| 用户名已注册 | validation | error | duplicate, user-registration, validation, go |
| 密码错误 | validation | warning | authentication, password, bcrypt, go |
| 原密码错误 | validation | error | auth, password, bcrypt, business-rule |
| 该用户无此角色 | validation | error | auth, roles, authority, business-rule |
| 找不到默认路由,无法切换本角色 | validation | error | roles, authority, menu, router, business-rule |
| 查询用户数据失败 | exception | error | gorm, user, transaction, not-found |
| 主部门必须在归属部门范围内 | validation | error | department, data-scope, validation, business-rule |
| 用户不存在 | exception | error | auth, uuid, user, not-found |
| 创建 [菜单-权限] 关联失败, 未找到菜单表初始化数据 | exception | error | initializer, seed-data, menu, authority, context |
| db Cannot be empty | exception | error | task, timed-task, gorm, database, nil-check |
| parse duration < 0 | exception | error | task, timed-task, configuration, duration, validation |
| GVA_CACHE 未初始化 | exception | error | captcha, cache, go, initialization |
| 存在同名文件 | exception | error | filesystem, go, directory |
| 未知错误 | exception | error | jwt, auth, go, token-validation |
| token已过期 | exception | error | jwt, auth, go, token-expiry |
| token尚未激活 | exception | error | jwt, auth, go, clock-skew |
| 这不是一个token | exception | error | jwt, auth, go, malformed-token |
| 无效签名 | exception | error | jwt, auth, go, signature-verification |
| 无法处理此token | exception | error | jwt, auth, go, token-validation |
| invalid plugin name | validation | error | security, validation, go, plugin |
| path root is empty | validation | error | filesystem, security, go, path-traversal |
| function bucket.IsObjectExist() failed, err: | exception | error | oss, aliyun, storage, config, network |
| function bucket.DeleteObjects() failed, err: | exception | error | oss, aliyun, storage, permissions, batch-delete |
| 对象未被删除 | exception | warning | oss, aliyun, storage, idempotency, cleanup |
| function bucket.ListObjects() failed, err: | exception | error | oss, alibaba-cloud, aws-sdk, permissions, list-objects |
| function file.Open() failed, err: | exception | error | aws-s3, multipart, file-upload, io |
| function client.DeleteObject() failed, err: | exception | error | aws-s3, aws-sdk-go-v2, delete-object, permissions |
| function client.DeleteObjects() failed, err: | exception | error | aws-s3, aws-sdk-go-v2, batch-delete, permissions |
| unknown error | exception | warning | aws-s3, batch-delete, partial-failure, permissions |
| function client.ListObjectsV2() failed, err: | exception | error | aws, s3, storage, network |
| function config.LoadDefaultConfig() failed, err: | exception | error | aws, s3, config, credentials |
| function file.Open() failed, err: | exception | error | upload, multipart, cloudflare-r2, storage |
| function client.DeleteObject() failed, err: | exception | error | cloudflare-r2, s3, delete, storage |
| function client.DeleteObjects() failed, err: | exception | error | cloudflare-r2, s3, batch-delete, storage |
| unknown error | exception | warning | cloudflare-r2, s3, batch-delete, partial-failure |
| function client.ListObjectsV2() failed, err: | exception | error | cloudflare-r2, s3, list, storage |
| function config.LoadDefaultConfig() failed, err: | exception | error | cloudflare-r2, aws, config, credentials |
| function os.MkdirAll() failed, err: | exception | error | filesystem, permissions, upload, local-storage |
| function file.Open() failed, err: | exception | error | upload, multipart, filesystem, local-storage |
| function os.Create() failed, err: | exception | error | filesystem, file-upload, permissions, go |
| function io.Copy() failed, err: | exception | error | filesystem, file-upload, io, go |
| 文件不存在 | exception | warning | filesystem, file-deletion, go |
| 文件删除失败: | exception | error | filesystem, file-deletion, permissions, go |
| key不能为空 | validation | warning | validation, input-validation, go |
| 非法的key | validation | warning | security, path-traversal, validation, go |
| function os.ReadDir() failed, err: | exception | error | filesystem, permissions, go, pagination |
| minio client 初始化失败, err: | exception | error | minio, configuration, object-storage, go |
| function file.Open() Failed, err: | exception | error | file-upload, multipart, http, go |
| 读取文件失败, err: | exception | error | file-upload, io, network, minio, go |
| 上传文件到minio失败, err: | exception | error | minio, upload, s3, object-storage |
| file extension is not allowed | validation | warning | validation, upload, filename, security |
| function file.Open() failed, err: | exception | error | qiniu, upload, multipart, io |
| function formUploader.Put() failed, err: | exception | error | qiniu, upload, object-storage, token |
| function bucketManager.Delete() failed, err: | exception | error | qiniu, delete, object-storage, auth |
| function bucketManager.Stat() failed, err: | exception | error | qiniu, upload, object-storage, network |
| function bucketManager.Batch() failed, err: | exception | error | qiniu, upload, batch-delete, object-storage |
| function bucketManager.ListFiles() failed, err: | exception | error | qiniu, upload, list-objects, object-storage |
| function file.Open() failed, err: | exception | error | tencent-cos, upload, multipart, file-io |
| function client.Object.Put() failed, err: | exception | error | tencent-cos, upload, object-storage, network |
| function bucketManager.Delete() failed, err: | exception | error | tencent-cos, delete, object-storage, permissions |
| function client.Object.Head() failed, err: | exception | error | tencent-cos, exists, object-storage, permissions |
| function client.Object.DeleteMulti() failed, err: | exception | error | tencent-cos, batch-delete, object-storage |
| function client.Bucket.Get() failed, err: | exception | error | tencent-cos, list-objects, object-storage |
| 已注册,无法重复注册 | exception | warning | validation, validator, duplicate-registration, go |
| expect struct | exception | error | go, reflection, validation, gin-vue-admin |
| 值不能为空 | validation | warning | go, validation, reflection, gin-vue-admin |
| 格式校验不通过 | validation | warning | go, validation, regex, gin-vue-admin |
| 长度或值不在合法范围, | validation | warning | go, validation, gin-vue-admin |
| 上游大模型流式服务返回非 2xx: status=%d content-type=%s read-body-err=%w | exception | error | network, http, streaming, llm, gin-vue-admin |
| 上游大模型流式服务返回非 2xx: status=%d content-type=%s body=%s | exception | error | network, http, llm, api-key, gin-vue-admin |
| 向客户端写入流式响应失败: %w | exception | error | network, streaming, sse, gin-vue-admin |
| 读取上游流式响应失败: %w | exception | error | network, streaming, llm, gin-vue-admin |
| 调用上游大模型失败: %w | exception | critical | network, http, llm, connection, gin-vue-admin |
| 上游大模型流式服务返回非 2xx: status=%d content-type=%s read-body-err=%w | exception | error | network, http, sse, llm, gin-vue-admin |
| 上游大模型流式服务返回非 2xx: status=%d content-type=%s body=%s | exception | error | http, sse, upstream, proxy |
| 读取上游非流式响应失败: %w | exception | error | http, sse, io, upstream |
| 读取上游流式响应失败: %w | exception | error | http, sse, streaming, network |
| 写入 SSE 事件失败: %w | exception | warning | sse, gin, client-disconnect |
| token不能为空 | validation | error | cli, cobra, jwt, validation |
| request failed: %s %s | http | error | cli, http, api-error |
| 读取 MCP 配置失败: %w | exception | critical | config, file-io, yaml, startup |
| 解析 MCP 配置失败: %w | exception | critical | config, yaml, parse-error, startup |
| fatal error config file: %w | panic | critical | viper, config, panic, startup |
| fatal error unmarshal config: %w | panic | critical | viper, config, unmarshal, panic, startup |
| 序列化 tool schema 失败: %w | exception | error | mcp, json-serialization, tool-registration, go |
| 分析失败: %v | exception | error | mcp, autocode, database, go |
| 获取包信息失败: %v | exception | error | mcp, database, autocode, go |
| 获取历史记录失败: %v | exception | error | mcp, database, autocode, go |
| 解析执行计划失败: %v | validation | error | mcp, json, argument-parsing, go |
| 解析执行计划失败: %v 请确保ExecutionPlan格式正确,参考工具描述中的结构体格式要求 | validation | error | mcp, json, schema-validation, type-mismatch, go |
| 执行计划验证失败: %v | validation | error | mcp, validation, autocode, schema-validation, go |
| 序列化结果失败: %v | exception | error | mcp, json-serialization, go |
| 模块 %d 的 package 不能为空 | validation | error | mcp, validation, autocode, missing-field, go |
| 模块 %d 的 structName 不能为空 | validation | error | mcp, validation, autocode, missing-field, go |
| 模块 %d 的 tableName 不能为空 | validation | error | mcp, code-generation, validation, config |
| 模块 %d 的 description 不能为空 | validation | error | mcp, code-generation, validation, config |
| 模块 %d 的 abbreviation 不能为空 | validation | error | mcp, code-generation, validation, config |
| 模块 %d 的 packageName 不能为空 | validation | error | mcp, code-generation, validation, config |
| 模块 %d 的 humpPackageName 不能为空 | validation | error | mcp, code-generation, validation, naming |
| 模块 %d 的 fields 不能为空,至少需要一个字段 | validation | error | mcp, code-generation, validation, schema |
| 模块 %d 字段 %d 的 fieldName 不能为空 | validation | error | mcp, code-generation, validation, fields |
| 模块 %d 字段 %d 的 fieldDesc 不能为空 | validation | error | mcp, code-generation, validation, fields |
| 模块 %d 字段 %d 的 fieldType 不能为空 | validation | error | mcp, code-generation, validation, type-mapping |
| 模块 %d 字段 %d 的 fieldJson 不能为空 | validation | error | mcp, code-generation, validation, json-tags |
| 模块 %d 字段 %d 的 columnName 不能为空 | validation | error | validation, code-generator, mcp |
| 模块 %d 字段 %d 的 fieldType '%s' 不支持 | validation | error | validation, code-generator, enum |
| 模块 %d 字段 %d 的 fieldSearchType '%s' 不支持 | validation | error | validation, query-operator, enum |
| 模块 %d 字段 %d 的 dataSource.association 必须是 1 或 2 | validation | error | validation, data-source, enum |
| 模块 %d:当 gvaModel=false 时,必须有一个字段的 primaryKey=true | validation | error | validation, primary-key, code-generator |
| 模块 %d:当 gvaModel=false 时,只能有一个字段的 primaryKey=true | validation | error | validation, primary-key, code-generator |
| 模块 %d:当 gvaModel=true 时,字段 %d 的 primaryKey 应该为 false | validation | error | validation, primary-key, gva-model |
| 解析generatedFiles失败: %v | validation | error | json, validation, mcp |
| 构建请求失败: %w | exception | error | http, url, network, config |
| 请求上游接口失败: %w | http | error | network, http, upstream, timeout |
| 读取响应失败: %w | http | error | http-client, network, go |
| 上游接口返回状态码 %d: %s | http | error | http, http-status, api |
| 解析响应失败: %w | exception | error | json, unmarshal, schema |
| 上游接口业务错误: %s | http | error | business-logic, api, gin-vue-admin |
| 缺少MCP鉴权请求头: %s | exception | error | authentication, mcp, headers |
| 上游接口路径不能为空 | exception | error | configuration, validation, go |
| 构建上游请求地址失败: %w | exception | error | url, configuration, go |
| 序列化上游请求失败: %w | exception | error | json, serialization, go |
| 创建上游请求失败: %w | exception | error | http, request-construction, go |
| 请求上游服务失败: %w | http | error | network, http-client, timeout, go |
| %s 需为ID数组或逗号分隔字符串 | validation | error | mcp, parameter-validation, input-format |
| 获取部门树失败: %w | http | error | network, upstream-api, mcp |
| 获取角色列表失败: %w | http | error | network, upstream-api, mcp, roles |
| 角色 %d 不存在或当前token无权查看 | validation | error | mcp, roles, permissions, not-found |
| 获取用户列表失败: %w | http | error | network, upstream-api, mcp, pagination |
| 未找到 ID 为 %d 的用户(已扫描前 %d 条,大用户量场景请传 username 参数精确定位) | exception | error | mcp, user-lookup, not-found, pagination, data-scope |
| 单次分配的部门/岗位数量各不能超过 %d 个 | validation | error | mcp, batch-limit, input-validation |
| 部门 %d 不存在,可先用 query_org_structure 查询部门树 | validation | error | mcp, validation, not-found, departments |
| 岗位 %d 校验失败: %w | exception | error | mcp, validation, not-found, positions, upstream-api |
| primaryDeptId %d 必须属于合并后的部门集合 %v | validation | warning | validation, mcp, org-assign |
| 设置用户部门失败: %w | exception | error | network, upstream-api, mcp |
| 设置用户岗位失败: %w | exception | error | network, upstream-api, mcp, positions |
| 获取成员ID列表失败: %w | exception | error | network, upstream-api, query |
| 需求分析失败: %v | exception | error | llm, upstream-api, analysis |
| 序列化结果失败: %w | exception | error | json, serialization, mcp |
| 获取角色当前API权限失败: %w | exception | error | casbin, upstream-api, roles |
| 分配API权限失败: %w | exception | error | casbin, upstream-api, permissions |
| 单次批量授权不能超过 %d 条,收到 %d 条 | validation | warning | validation, batch-limit, casbin |
| 获取角色当前API权限失败: %w | exception | error | casbin, upstream-api, batch |
| 批量分配API权限失败: %w | exception | error | mcp, casbin, upstream-api, network |
| 无法解析API项 %q,期望 "/path" 或 "METHOD /path" | validation | error | mcp, parsing, input-validation |
| dataScope 必须在 1-5 之间:1全部 2本部门及以下 3本部门 4仅本人 5自定义部门,收到 %d | validation | error | mcp, validation, data-scope |
| 档位5(自定义部门)必须指定部门集合: %w | validation | error | mcp, validation, data-scope |
| 部门 %d 不存在,可先用 query_org_structure 查询部门树 | validation | error | mcp, validation, org-structure |
| 读取角色当前自定义部门集失败: %w | exception | error | mcp, upstream-api, network |
| 设置数据权限失败: %w | exception | error | mcp, upstream-api, data-scope |
| 单次授权菜单数量不能超过 %d 个 | validation | error | mcp, validation, batch-limit |
| 获取菜单列表失败: %w | exception | error | mcp, upstream-api, menu |
| 菜单 %d 不存在,可先用 list_all_menus 查询全部菜单 | validation | error | mcp, validation, menu |
| 获取角色当前菜单授权失败: %w | exception | error | http, upstream-api, mcp, wrapped-error |
| 菜单授权写回失败: %w | exception | error | http, upstream-api, mcp, write-failure |
| 启动 MCP 独立服务失败: %w | exception | error | process, exec, mcp, spawn-failure |
| 停用 MCP 独立服务失败: %w | exception | error | process, signal, mcp, terminate-failure |
| MCP 健康检查失败: %s | http | error | http, health-check, mcp, http-status |
| 等待 MCP 独立服务启动超时,请查看日志: %s | exception | error | timeout, mcp, process-startup, health-check |
| MCP 独立进程已退出,请查看日志: %s | exception | error | process-crash, mcp, startup-failure |
| GVA_MCP_BIN 指向的文件不存在: %s | exception | error | configuration, env-var, mcp, missing-file |
| 构建 MCP 独立服务失败: %w, 输出: %s | exception | error | build, go, mcp, compile-error |
| 构建 MCP 独立服务失败: %w | exception | error | build, go, mcp, toolchain |
| 不支持的目标系统: %s | validation | error | go, cross-compile, validation, whitelist |
| 不支持的目标架构: %s | validation | error | go, cross-compile, validation, whitelist |
| 服务器未安装 Go 工具链,无法编译: %w | exception | error | go, environment, toolchain, path |
| 解析编译目录失败: %w | exception | error | go, filesystem, path-resolution |
| 创建编译根目录失败: %w | exception | error | go, filesystem, permissions |
| 创建编译目录失败: %w | exception | error | go, filesystem, temp-directory, disk-space |
| 读取 CLI 源码目录失败(%s): %w | exception | error | go, filesystem, deployment, missing-files |
| go build 失败: %w %s | exception | error | go, compile-error, cross-compile, build |
| 分片 %d 校验失败 | exception | error | upload, integrity, md5, chunked-upload |
| 分片不全: %d/%d | exception | error | upload, chunked-upload, state-machine, integrity |
| 调用上游大模型服务失败: %w | exception | error | network, http, llm, go |
| 读取大模型响应失败: %w | exception | error | network, http, io, llm |
| 上游大模型服务返回非 2xx: status=%d content-type=%s body=%s | exception | error | http, llm, api, status-code |
| 解析大模型响应失败: status=%d content-type=%s body=%s err=%w | exception | error | json, parsing, llm, api-contract |
| 大模型服务返回业务错误: code=%d msg=%s body=%s | exception | error | llm, api-contract, business-error, upstream |
| 调用上游大模型流式服务失败: %w | exception | error | network, http, sse, llm, upstream |
| 创建自动代码历史失败: %w | exception | error | database, gorm, transaction, persistence |
| 创建自动代码 API %s %s 失败: %w | exception | error | database, gorm, transaction, api, duplicate-key |
| 查询自动代码 API %s %s 失败: %w | exception | error | database, gorm, query, api, transaction |
| %w: name=%s, 已存在 path=%s component=%s, 期望 path=%s component= | exception | error | menu, conflict, persistence, auto-code, duplicate |
| 查询自动代码菜单 %s 失败: %w | exception | error | gorm, database, auto-code, menu |
| 创建自动代码菜单 %s 失败: %w | exception | error | gorm, insert, auto-code, menu |
| 序列化自动代码导出模板失败: %w | exception | error | json, serialization, auto-code |
| 创建自动代码导出模板 %s 失败: %w | exception | error | gorm, insert, auto-code, export-template |
| 查询自动代码重复记录失败: %w | exception | error | gorm, database, auto-code, duplicate-check |
| 解析自动代码根目录失败: %w | exception | error | filesystem, path, auto-code |
| 服务端目录无效: %w | exception | error | filesystem, path-traversal, auto-code, config |
| 前端目录无效: %w | exception | error | filesystem, path-traversal, auto-code, config |
| 创建自动代码 staging 目录失败: %w | exception | error | filesystem, permissions, auto-code, temp-directory |
| 解析目标路径 %q 失败: %w | exception | error | filesystem, path, auto-code |
| %w: %s | exception | error | go, duplicate-target, path-normalization, autocode |
| 自动代码目标不是普通文件: %s | exception | error | go, filesystem, not-a-regular-file, autocode |
| 读取自动代码目标 %s 失败: %w | exception | error | go, filesystem, read-permission, io, autocode |
| 检查自动代码目标 %s 失败: %w | exception | error | go, filesystem, stat-failed, permission, autocode |
| 写入自动代码 staging 失败: %w | exception | error | go, filesystem, disk-full, staging-write, autocode |
| 数据库已提交,前端文件发布失败: %w | exception | error | file-publish, partial-failure, autocode, atomic-write, database-committed |
| 清理重复 staging 文件失败: %w | exception | error | filesystem, staging-cleanup, permissions, autocode, atomic-write |
| 创建目标目录 %s 失败: %w | exception | error | filesystem, mkdir, permissions, autocode, file-publish |
| 原子发布 %s 失败: %w | exception | error | filesystem, atomic-rename, exdev, autocode, file-publish |
| 自动代码回滚索引无效: %d | exception | error | go, code-generation, rollback, internal-invariant |
| 删除新建文件 %s 失败: %w | exception | error | go, filesystem, permissions, rollback |
| 恢复自动代码文件 %s 失败: %w | exception | error | go, filesystem, atomic-write, rollback |
| 回滚自动代码文件失败: %w | exception | error | go, errors-join, rollback, code-generation |
| 创建临时文件失败: %w | exception | error | go, filesystem, temp-file, atomic-write |
| 写入临时文件失败: %w | exception | error | go, filesystem, io, atomic-write |
| 设置临时文件权限失败: %w | exception | warning | go, filesystem, chmod, permissions |
| 原子替换 %s 失败: %w | exception | error | go, filesystem, rename, atomic-write, windows |
| 自动代码目标不在服务端或前端目录内: %s | exception | error | autocode, path-validation, config |
| 路径越过根目录: %s | exception | error | autocode, path-traversal, security |
| package结构异常,缺少api/v1/%s/enter.go | validation | error | autocode, package-scaffold, validation |
| package结构异常,缺少service/%s/enter.go | validation | error | autocode, package-scaffold, validation |
| package结构异常,缺少router/%s/enter.go | validation | error | autocode, package-scaffold, validation |
| plugin结构异常,缺少plugin/%s/plugin.go | validation | error | autocode, plugin, validation |
| 文件名包含非法字符,拒绝写入 | validation | error | autocode, input-validation, security |
| 非法的排序字段: %v | validation | error | validation, sql-injection-prevention, pagination |
| 该字典详情下还有子项,无法删除 | exception | warning | go, gorm, dictionary, business-rule |
| 不能将字典详情设置为自己或其子项的父级 | validation | error | go, dictionary, circular-reference, business-rule |
| 解析 params 参数失败: %v | exception | error | go, url-parsing, export, query-params |
| order by %s is not in the fields | validation | error | go, export, sql-injection, validation |
| order by %s is not secure | validation | error | go, export, sql-injection, validation |
ErrLogRootUnavailable %w: %v | error_code | error | go, filesystem, logging, os-root |
ErrLogFileUnreadable %w: %v | error_code | error | go, filesystem, logging, file-read |
| 构建下载请求失败: %w | exception | warning | go, json, serialization |
| 下载技能失败: %w | exception | error | go, network, http-client, dns |
| 下载技能失败, HTTP状态码: %d | http | error | go, http, http-status |
| 读取下载结果失败: %w | exception | error | go, network, io |
| 解析下载结果失败: %w | exception | error | go, json, api-contract |
| 下载压缩包失败: %w | exception | error | go, network, http-client, download |
| 下载压缩包失败, HTTP状态码: %d | exception | error | go, http, http-status, download |
| 创建临时文件失败: %w | exception | error | go, filesystem, temp-file, disk |
| 保存技能包失败: %w | exception | error | filesystem, io, network, go |
| 解压技能包失败: %w | exception | error | zip, filesystem, go |
| %s已存在 | validation | error | filesystem, duplicate, go |
| cron 表达式非法: %w | validation | error | cron, validation, go |
| 方法 %s 未注册 | validation | error | task-registry, validation, go |
| executorType 必须为 %s 或 %s | validation | error | validation, timed-task, go, config |
| 任务名 %s 已存在 | validation | error | validation, duplicate, timed-task, go |
| 解析拨号地址失败: %w | exception | error | network, ssrf, http-client, go |
| 非法拨号 IP: %s | exception | error | network, ssrf, dns, go |
| %w: %s | exception | error | ssrf, security, network, http-client, go |
| 未知执行器类型: %s | exception | error | timed-task, configuration, go |
| 方法 %s 未注册(需在 initialize/timer.go 经 task.Register 注册) | exception | error | timed-task, registry, go |
| panic: %v | panic | error | panic, timed-task, go, goroutine |
| URL 非法: %w | exception | error | http, url-validation, timed-task |
| 仅允许 http/https, 实际为 %q | exception | error | ssrf, security, url-validation, timed-task |
| 构造请求失败: %w | exception | error | http, request-construction, timed-task |
| http_header 必须是 JSON 对象: %w | exception | error | json, validation, http, timed-task |
| 非 2xx 响应: %d | http | error | http, status-code, timed-task, remote-endpoint |
| db not init | exception | critical | database, initialization, config, go |
| read file failed: %w | exception | error | filesystem, go, ast |
| parse file failed: %w | exception | error | go, ast, parse-error, codegen |
| no function encloses line %d in %s | exception | error | go, ast, position-lookup, codegen |
| invalid offsets for function: start=%d end=%d len=%d | exception | error | go, ast, offsets, codegen |
| gorm 注入目标不能为空 | exception | error | go, ast, gorm, codegen, nil-check |
| gorm 注入目标缺少 bizModel 函数 | exception | error | go, ast, gorm, codegen, missing-anchor |
| bizModel 中未找到 %s.AutoMigrate 调用 | exception | error | go, ast, gorm, automigrate, codegen |
| 注入 gorm import 失败: %w | exception | error | go, ast, gorm, import-injection, codegen |
| bizModel 函数体为空,无法注入业务数据库 | exception | error | go, ast, gorm, codegen, empty-body |
| 插件 gorm 注入目标不能为空 | exception | error | go, ast, gorm, plugin, nil-check |
| 插件 gorm 注入目标缺少 Gorm 函数或 AutoMigrate 调用 | exception | error | go, ast, gorm, plugin, missing-anchor |
| 注入插件 gorm import 失败: %w | exception | error | ast, code-generation, go, plugin |
| 密码长度不能少于 %d 位 | validation | warning | validation, password, security |
| 密码必须包含%s | validation | warning | validation, password, security |
| 缺少分片 %d: %w | exception | error | upload, file-io, chunks |
| 构造 FileHeader 失败 | exception | error | upload, multipart, file-io |
| obs delete %s failed: code=%s, message=%s | exception | error | obs, object-storage, delete, cloud |
| delete failed, code: %d | error_code | error | qiniu, object-storage, delete, cloud |
| cos delete %s failed: code=%s, message=%s | error_code | error | cos, tencent-cloud, object-storage, delete |
| %s 文件名不合法 | validation | warning | zip, security, path-traversal, upload |
| 创建失败! | error_code | error | gorm, database, autocode, persistence |
| [filepath:%s]生成失败! | error_code | error | template, codegen, go |
| 删除失败! | error_code | error | database, gorm, mysql, delete |
| 读取service文件夹失败! | error_code | error | filesystem, directory-not-found, config, codegen |
| 读取plugin文件夹失败! | error_code | error | filesystem, directory-not-found, config, codegen |
| 获取所有包失败! | error_code | error | database, gorm, select, sync |
| 同步失败! | error_code | error | database, gorm, insert, sync, duplicate-key |
| 删除不存在的包记录失败! | error_code | error | database, gorm, delete, sync |
| 读取模版文件夹失败! | error_code | error | filesystem, go, codegen, working-directory |
| 读取模版文件夹[%s]失败! | error_code | error | filesystem, go, codegen, config |
| [filpath:%s]非法模版后缀! | exception | error | codegen, go, validation, templates |
| [filpath:%s]非法模版文件! | exception | error | codegen, go, validation, templates |
| [filpath:%s]非法模版文件夹! | exception | error | codegen, go, validation, templates |
| 删除前端插件目录失败 | exception | error | filesystem, plugin-management, go, os-removeall |
| 删除后端插件目录失败 | exception | error | filesystem, plugin-management, go, os-removeall |
| 移除插件注册失败 | exception | error | go, ast, plugin-registration, plugin-management |
| 读取插件初始化文件失败 | exception | error | go, filesystem, plugin-initialization, ast |
| 解析插件初始化文件失败 | exception | error | go, ast, parse-error, plugin-initialization |
| 插件初始化文件缺少 []model.%s 数组 | exception | error | go, ast, plugin-initialization, code-generation |
| 打印插件初始化文件失败 | exception | error | go, ast, printer, plugin-initialization |
| 写入插件初始化文件失败 | exception | error | filesystem, go, plugin-initialization, os-writefile |
| 查询包失败! | exception | error | gorm, database, auto-code, record-not-found |
| 序列化自动代码注入信息 %s 失败 | exception | error | json, serialization, auto-code, code-generation |
| [filpath:%s]读取模版文件失败! | exception | error | template, codegen, file-io, text-template |
| [filpath:%s]生成文件失败! | exception | error | template, codegen, template-execution, text-template |
| [filepath:%s]解析注入目标失败 | exception | error | ast, codegen, injection, parse-error |
| [filepath:%s]解析注入目标为空 | exception | error | ast, codegen, injection, empty-file |
| [filepath:%s]注入代码失败 | exception | error | ast, codegen, injection, ast-rewrite |
| [filepath:%s]格式化注入代码失败 | exception | error | ast, codegen, gofmt, injection |
| [filepath:%s]读取模版文件失败! | exception | error | template, codegen, file-io, config |
| media.FileUploadAndDownload表数据初始化失败! | exception | error | gorm, database, seed-data, initialization, media |
| sys_apis表数据初始化失败! | exception | critical | database, gorm, seed-data, initialization |
| sys_ignore_apis表数据初始化失败! | exception | critical | database, gorm, seed-data, initialization |
| 创建 [菜单-权限] 关联失败, 未找到权限表初始化数据 | exception | error | initialization, context, dependency-order, seed-data |
| 为超级管理员分配菜单失败 | exception | error | database, gorm, association, seed-data |
| 为普通用户分配菜单失败 | exception | error | database, gorm, association, seed-data |
| 为测试角色分配菜单失败 | exception | error | database, gorm, association, seed-data |
| %s表数据初始化失败! | exception | critical | database, gorm, seed-data, initialization |
| Casbin 表 (%s) 数据初始化失败! | exception | critical | database, casbin, seed-data, gorm |
| sys_departments表数据初始化失败! | exception | error | database, gorm, seed-data, data-scope |
| sys_positions表数据初始化失败! | exception | error | database, gorm, seed-data, initialization |
| sys_dictionaries表数据初始化失败! | exception | error | gorm, database, seed-data, initialization |
| 未找到 %s 表初始化数据 | exception | error | gorm, initialization, dependency-order, context |
| sys_dictionary_details表数据初始化失败! | exception | error | gorm, association, seed-data, initialization |
| sys_export_templates表数据初始化失败! | exception | error | gorm, database, seed-data, initialization |
| sys_base_menus父级菜单初始化失败! | exception | error | gorm, database, menu, seed-data, initialization |
| sys_base_menus子菜单初始化失败! | exception | error | gorm, database, menu, seed-data, initialization |
| sys_security_configs默认配置初始化失败! | exception | error | gorm, database, security-config, seed-data, initialization |
| sys_timed_tasks表数据初始化失败! | exception | error | gorm, database, cron, seed-data, initialization |
| sys_users表数据初始化失败! | exception | error | gorm, database, user, seed-data, initialization |
| 创建 [用户-权限] 关联失败, 未找到权限表初始化数据 | exception | error | gorm, initialization, dependency-order, context, authority |
| [filepath:%s]打开/解析文件失败! | exception | error | go, ast, codegen, file-io |
| [filepath:%s]打开文件失败! | exception | error | go, ast, codegen, file-io, permissions |
| [filepath:%s]注入失败! | exception | error | go, ast, codegen, io |
| 注册表失败! | exception | error | gorm, migration, codegen, startup |
| panic(err) — standalone MCP config load failed | panic | critical | config, startup, panic, mcp |
| panic(err) — standalone MCP logger init failed | panic | critical | logging, startup, panic, mcp |
| panic(err) — mcp独立服务启动失败 | panic | critical | network, port-conflict, startup, mcp |
| db no init | panic | critical | gorm, panic, initialization, multi-database |
| redis `%s` no init | panic | critical | redis, panic, initialization, config |
| panic(err) — MSSQL database connection failed | panic | critical | gorm, mssql, panic, database-connection |
| panic(err) — MySQL database connection failed | panic | critical | mysql, gorm, startup, panic, database |
| panic(err) — Oracle database connection failed | panic | critical | oracle, gorm, startup, panic, database |