Merge Backend Error Codes
merge_backend_error_codesMerge backend error codes into a Java constants file by assigning numbers, updating existing messages, and grouping entries under a section title.
Instructions
合并后端错误码;relative_path 是相对配置后端仓库的 ErrorCodeConstants.java 路径。
constants 为非空 {name, message} 列表,自动分配编号;同名更新提示并保留编号。 section_title 指定业务分组标题。只修改目标文件及必要的 ServiceErrorCodeRange.java, 不生成普通代码、不处理或删除占位文件。返回实际 changed_files,重复相同输入为空列表。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| constants | Yes | ||
| relative_path | Yes | ||
| section_title | Yes | ||
| workspace_root | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||