diff options
author | xuri <xuri.me@gmail.com> | 2021-11-16 00:40:44 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-11-16 00:40:44 +0800 |
commit | bda8e7f8129dae0064c47f8e051f76492e1128f5 (patch) | |
tree | f920fccbda3059acdf0c0cb66ebb875161a32576 /errors.go | |
parent | 72410361b07e7539037252467a38a73b32986dce (diff) |
This closes #1061, support multi-byte language on set header footer
typo fixed and simplify code for read the data values arguments of formula functions
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -51,6 +51,11 @@ func newInvalidStyleID(styleID int) error { return fmt.Errorf("invalid style ID %d, negative values are not supported", styleID) } +// newFieldLengthError defined the error message on receiving the field length overflow. +func newFieldLengthError(name string) error { + return fmt.Errorf("field %s must be less or equal than 255 characters", name) +} + var ( // ErrStreamSetColWidth defined the error message on set column width in // stream writing mode. |