diff options
author | Harrison <harrison3000@users.noreply.github.com> | 2022-10-10 13:05:02 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 00:05:02 +0800 |
commit | c02346bafc6e098406f32ee0a183d45f3038c619 (patch) | |
tree | 7c04d06c12b9850b1940cf4a476036b5df974850 /errors.go | |
parent | 2f5704b114d033e81725f18459f9293a9adfee1e (diff) |
This closes #1047, stream writer support set panes (#1123)
- New exported error `ErrStreamSetPanes` has been added
Diffstat (limited to 'errors.go')
-rw-r--r-- | errors.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -91,6 +91,9 @@ var ( // ErrStreamSetColWidth defined the error message on set column width in // stream writing mode. ErrStreamSetColWidth = errors.New("must call the SetColWidth function before the SetRow function") + // ErrStreamSetPanes defined the error message on set panes in stream + // writing mode. + ErrStreamSetPanes = errors.New("must call the SetPanes function before the SetRow function") // ErrColumnNumber defined the error message on receive an invalid column // number. ErrColumnNumber = fmt.Errorf(`the column number must be greater than or equal to %d and less than or equal to %d`, MinColumns, MaxColumns) |