From be12cc27f1d774154b17763c071e1dc6f91eab8c Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 10 May 2021 00:09:24 +0800 Subject: This closes #652, new SetColWidth API, support set column width in stream writing mode, and export error message --- cell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cell.go') diff --git a/cell.go b/cell.go index 27d24d9..f94b81e 100644 --- a/cell.go +++ b/cell.go @@ -475,7 +475,7 @@ func (f *File) SetCellHyperLink(sheet, axis, link, linkType string, opts ...Hype } if len(ws.Hyperlinks.Hyperlink) > TotalSheetHyperlinks { - return errors.New("over maximum limit hyperlinks in a worksheet") + return ErrTotalSheetHyperlinks } switch linkType { -- cgit v1.2.1