summaryrefslogtreecommitdiff
path: root/cell.go
diff options
context:
space:
mode:
Diffstat (limited to 'cell.go')
-rw-r--r--cell.go2
1 files changed, 1 insertions, 1 deletions
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 {