summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 4560497..5576ecd 100644
--- a/errors.go
+++ b/errors.go
@@ -22,3 +22,7 @@ func newInvalidRowNumberError(row int) error {
func newInvalidCellNameError(cell string) error {
return fmt.Errorf("invalid cell name %q", cell)
}
+
+func newInvalidExcelDateError(dateValue float64) error {
+ return fmt.Errorf("invalid date value %f, negative values are not supported supported", dateValue)
+}