forked from free-lancers/electricity_bill_calc_service
enahnce(error):将错误类型中的提示信息更改为中文。
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user