summaryrefslogtreecommitdiffstats
path: root/vendor/gitea.com/lunny/levelqueue/error.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-28 23:37:33 +0800
committerGitHub <noreply@github.com>2019-11-28 23:37:33 +0800
commit3bdce82ce97299beb542fd90f5cc21caad302e08 (patch)
treea586675d0e6ee4a8077e35b295436b1ad4c9afab /vendor/gitea.com/lunny/levelqueue/error.go
parentef9a0370ca71694c38cd8c30a3837ee3125974ba (diff)
downloadgitea-3bdce82ce97299beb542fd90f5cc21caad302e08.tar.gz
gitea-3bdce82ce97299beb542fd90f5cc21caad302e08.zip
upgrade levelqueue to 0.1.0 (#9192)
Diffstat (limited to 'vendor/gitea.com/lunny/levelqueue/error.go')
-rw-r--r--vendor/gitea.com/lunny/levelqueue/error.go12
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")
+)