enahnce(error):将错误类型中的提示信息更改为中文。

This commit is contained in:
徐涛
2023-06-17 09:37:09 +08:00
parent e5dadf06be
commit 986562c2c2
5 changed files with 5 additions and 5 deletions

View File

@@ -15,5 +15,5 @@ func NewIllegalArgumentsError(msg string, arguments ...string) IllegalArgumentsE
}
func (e IllegalArgumentsError) Error() string {
return fmt.Sprintf("Illegal Arguments, %s", e.Message)
return fmt.Sprintf("使用了非法参数, %s", e.Message)
}