Debian Codegraph @

error.go

raw symbols SCIP
1 // Copyright 2019 Lunny Xiao. All rights reserved.
2 // Use of this source code is governed by a MIT-style
3 // license that can be found in the LICENSE file.
4
5 package levelqueue
6
7 import "errors"
8
9 var (
10 // ErrNotFound means no elements in queue
11 ErrNotFound = errors.New("no key found")
12
13 ErrAlreadyInQueue = errors.New("value already in queue")
14
15 // ErrLowIDNotExists means the value of the "low" position does not point to
16 // a item that's stored in LevelDB. The next five values also have been
17 // checked and did not contain a item.
18 ErrLowIDNotExists = errors.New("the value of 'low' does not point to a item that's stored in LevelDB")
19 )