diff options
Diffstat (limited to 'vendor/gitea.com/lunny/levelqueue/error.go')
-rw-r--r-- | vendor/gitea.com/lunny/levelqueue/error.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/gitea.com/lunny/levelqueue/error.go b/vendor/gitea.com/lunny/levelqueue/error.go index d639c5d496..648c185655 100644 --- a/vendor/gitea.com/lunny/levelqueue/error.go +++ b/vendor/gitea.com/lunny/levelqueue/error.go @@ -7,6 +7,8 @@ package levelqueue import "errors" var ( - // ErrNotFound means no element in queue + // ErrNotFound means no elements in queue ErrNotFound = errors.New("no key found") + + ErrAlreadyInQueue = errors.New("value already in queue") ) |