FILE / ScuroNeko/Laniakea
tgapi/errors.go
Исходный файл и его история в репозитории.
Golang lint / lint (push) Successful in 1m11s
(refactor): API initialism names (tests): logger format coverage (doc): updated public names
13 lines
458 B
Go
13 lines
458 B
Go
package tgapi
|
|
|
|
import "errors"
|
|
|
|
// ErrPoolUnexpected reports an unexpected result type returned from the worker pool.
|
|
var ErrPoolUnexpected = errors.New("unexpected response from pool")
|
|
|
|
// ErrPoolQueueFull reports that the internal request queue is full.
|
|
var ErrPoolQueueFull = errors.New("worker pool queue full")
|
|
|
|
// ErrPoolStopped reports that a request was submitted after the worker pool stopped.
|
|
var ErrPoolStopped = errors.New("worker pool stopped")
|