summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorHarrison <harrison3000@users.noreply.github.com>2022-10-10 13:05:02 -0300
committerGitHub <noreply@github.com>2022-10-11 00:05:02 +0800
commitc02346bafc6e098406f32ee0a183d45f3038c619 (patch)
tree7c04d06c12b9850b1940cf4a476036b5df974850 /errors.go
parent2f5704b114d033e81725f18459f9293a9adfee1e (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.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 48476bc..fd896a6 100644
--- a/errors.go
+++ b/errors.go
@@ -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)