summaryrefslogtreecommitdiffstats
path: root/vendor/gitea.com/lunny/levelqueue/error.go
blob: 648c185655bad0d656446939c58ac2988f38fe12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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 elements in queue
	ErrNotFound = errors.New("no key found")

	ErrAlreadyInQueue = errors.New("value already in queue")
)