summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-11-12 00:02:11 +0800
committerxuri <xuri.me@gmail.com>2022-11-12 00:16:23 +0800
commitbd5dd17673f767b9f4643423c77eec486f2ad53f (patch)
treed1ceaf5f7eeff101bcf5b3f9a861a8b115088718 /errors.go
parent58b5dae5eb4948a3cde238ced1ae05db159749f5 (diff)
This is a breaking change, remove partial internal error log print, throw XML deserialize error
- Add error return value for the `GetComments`, `GetDefaultFont` and `SetDefaultFont` functions - Update unit tests
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/errors.go b/errors.go
index f486ad4..1f7c6f8 100644
--- a/errors.go
+++ b/errors.go
@@ -82,11 +82,6 @@ func newNotWorksheetError(name string) error {
return fmt.Errorf("sheet %s is not a worksheet", name)
}
-// newDecodeXMLError defined the error message on decode XML error.
-func newDecodeXMLError(err error) error {
- return fmt.Errorf("xml decode error: %s", err)
-}
-
// newStreamSetRowError defined the error message on the stream writer
// receiving the non-ascending row number.
func newStreamSetRowError(row int) error {