diff --git a/progress.go b/progress.go index 9974e88..8b0d190 100644 --- a/progress.go +++ b/progress.go @@ -11,6 +11,8 @@ "github.com/vbauerster/mpb/cwriter" ) +// ErrCallAfterStop thrown by panic, if Progress methods like AddBar() are called +// after Stop() has been called var ErrCallAfterStop = errors.New("method call on stopped Progress instance") type opType uint @@ -28,7 +30,7 @@ SortBottom ) -// RefreshRate +// default RefreshRate const rr = 100 // Progress represents the container that renders Progress bars