chore: update err message - LenError
This commit is contained in:
parent
918ce743e4
commit
072023dafb
|
@ -13,7 +13,7 @@ type LenError struct {
|
|||
var _ ErrorWithParams = LenError{}
|
||||
|
||||
func (e LenError) Error() string {
|
||||
return fmt.Sprintf("sort length must be between %d and %d (current length: %d)", e.Min, e.Max, e.Current)
|
||||
return fmt.Sprintf("length must be between %d and %d (current length: %d)", e.Min, e.Max, e.Current)
|
||||
}
|
||||
|
||||
func (e LenError) Code() ErrorCode {
|
||||
|
|
Loading…
Reference in New Issue
Block a user