diff options
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/errors.go b/errors.go new file mode 100644 index 0000000..4dec815 --- /dev/null +++ b/errors.go @@ -0,0 +1,17 @@ +package excelize + +import ( + "fmt" +) + +func newInvalidColumnNameError(col string) error { + return fmt.Errorf("invalid column name %q", col) +} + +func newInvalidRowNumberError(row int) error { + return fmt.Errorf("invalid row number %d", row) +} + +func newInvalidCellNameError(cell string) error { + return fmt.Errorf("invalid cell name %q", cell) +} |