summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-09-01 00:41:52 +0800
committerxuri <xuri.me@gmail.com>2022-09-01 00:41:52 +0800
commit75ce2317286181e2c250c10206df892278d5b981 (patch)
tree5e040d90cbb170a0cbdc0c6a57e0b86c7bc82845 /errors.go
parent18cd63a548afa1abcddc86a998fdefa3b4cc60c1 (diff)
This closes #1323, an error will be returned when set the not exist style ID
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go2
1 files changed, 1 insertions, 1 deletions
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