diff options
author | xuri <xuri.me@gmail.com> | 2022-10-28 00:31:55 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-10-28 00:31:55 +0800 |
commit | a410b22bdd50e9f212b0b454e5aed798e3476394 (patch) | |
tree | d8b234f1171f4c0222d09182dc9ed8e7e3ace658 /errors.go | |
parent | adf9d37d82edd3dbc365fece76a031a92e2220d6 (diff) |
Fix the error on getting the range of merged cells on the worksheet which contains one cell merged cell range
- Parse workbook default theme for custom theme color support in the feature
- Variables name typo fix
- Add system foreground and background color as RGB in the IndexedColorMapping list
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -93,6 +93,12 @@ func newStreamSetRowError(row int) error { return fmt.Errorf("row %d has already been written", row) } +// newViewIdxError defined the error message on receiving a invalid sheet view +// index. +func newViewIdxError(viewIndex int) error { + return fmt.Errorf("view index %d out of range", viewIndex) +} + var ( // ErrStreamSetColWidth defined the error message on set column width in // stream writing mode. |