diff options
Diffstat (limited to 'vendor/gitea.com/lunny/levelqueue/error.go')
-rw-r--r-- | vendor/gitea.com/lunny/levelqueue/error.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/gitea.com/lunny/levelqueue/error.go b/vendor/gitea.com/lunny/levelqueue/error.go new file mode 100644 index 0000000000..d639c5d496 --- /dev/null +++ b/vendor/gitea.com/lunny/levelqueue/error.go @@ -0,0 +1,12 @@ +// Copyright 2019 Lunny Xiao. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package levelqueue + +import "errors" + +var ( + // ErrNotFound means no element in queue + ErrNotFound = errors.New("no key found") +) |