diff --git a/ants.go b/ants.go index df1f88b..3dde641 100644 --- a/ants.go +++ b/ants.go @@ -42,6 +42,7 @@ const ( var ( // Error types for the Ants API. //--------------------------------------------------------------------------- + // ErrInvalidPoolSize will be returned when setting a negative number as pool capacity. ErrInvalidPoolSize = errors.New("invalid size for pool")