chore: update err message - LenError

This commit is contained in:
Dawid Wysokiński 2023-12-22 06:04:55 +01:00
parent 918ce743e4
commit 072023dafb
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892
1 changed files with 1 additions and 1 deletions

View File

@ -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 {