From 75ce2317286181e2c250c10206df892278d5b981 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 1 Sep 2022 00:41:52 +0800 Subject: This closes #1323, an error will be returned when set the not exist style ID --- errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'errors.go') diff --git a/errors.go b/errors.go index a31330c..48476bc 100644 --- a/errors.go +++ b/errors.go @@ -55,7 +55,7 @@ func newUnzipSizeLimitError(unzipSizeLimit int64) error { // newInvalidStyleID defined the error message on receiving the invalid style // ID. func newInvalidStyleID(styleID int) error { - return fmt.Errorf("invalid style ID %d, negative values are not supported", styleID) + return fmt.Errorf("invalid style ID %d", styleID) } // newFieldLengthError defined the error message on receiving the field length -- cgit v1.2.1