summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 4cfd12e..9fc0957 100644
--- a/errors.go
+++ b/errors.go
@@ -131,4 +131,7 @@ var (
// ErrCellCharsLength defined the error message for receiving a cell
// characters length that exceeds the limit.
ErrCellCharsLength = fmt.Errorf("cell value must be 0-%d characters", TotalCellChars)
+ // ErrOptionsUnzipSizeLimit defined the error message for receiving
+ // invalid UnzipSizeLimit and WorksheetUnzipMemLimit.
+ ErrOptionsUnzipSizeLimit = errors.New("the value of UnzipSizeLimit should be greater than or equal to WorksheetUnzipMemLimit")
)