diff --git a/internal/io/limitedwriter.go b/internal/io/limitedwriter.go index 7a1990ba..a42bb258 100644 --- a/internal/io/limitedwriter.go +++ b/internal/io/limitedwriter.go @@ -21,6 +21,7 @@ import ( "io" ) +// ErrLimitExceeded is returned when the write limit is exceeded. var ErrLimitExceeded = errors.New("write limit exceeded") // LimitedWriter is a writer that writes to an underlying writer up to a limit.