forked from mirror/ants
🚀 Update the comment about error types
This commit is contained in:
parent
e65a7d49b7
commit
089a7321ef
2
ants.go
2
ants.go
|
@ -63,7 +63,7 @@ func Release() {
|
||||||
defaultAntsPool.Release()
|
defaultAntsPool.Release()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Errors for the Ants API.
|
// Error types for the Ants API.
|
||||||
var (
|
var (
|
||||||
ErrInvalidPoolSize = errors.New("invalid size for pool")
|
ErrInvalidPoolSize = errors.New("invalid size for pool")
|
||||||
ErrInvalidPoolExpiry = errors.New("invalid expiry for pool")
|
ErrInvalidPoolExpiry = errors.New("invalid expiry for pool")
|
||||||
|
|
Loading…
Reference in New Issue