summaryrefslogtreecommitdiff
path: root/stream.go
diff options
context:
space:
mode:
Diffstat (limited to 'stream.go')
-rw-r--r--stream.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.go b/stream.go
index 91ae78a..3c05c32 100644
--- a/stream.go
+++ b/stream.go
@@ -92,7 +92,7 @@ type StreamWriter struct {
func (f *File) NewStreamWriter(sheet string) (*StreamWriter, error) {
sheetID := f.getSheetID(sheet)
if sheetID == -1 {
- return nil, fmt.Errorf("sheet %s is not exist", sheet)
+ return nil, newNoExistSheetError(sheet)
}
sw := &StreamWriter{
File: f,