-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.go
More file actions
31 lines (22 loc) · 721 Bytes
/
Copy patherror.go
File metadata and controls
31 lines (22 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package lantern_cache
import "fmt"
var (
ErrorInValidStackType = fmt.Errorf("invalid slot stack type should be uint32")
ErrorInvalidEntry = fmt.Errorf("invalid entry")
// common
ErrorCopy = fmt.Errorf("invalid copy")
// chunk
ErrorChunkAlloc = fmt.Errorf("alloc chunk error")
// bucket
ErrorEntryTooBig = fmt.Errorf("value too big")
ErrorChunkIndexOutOfRange = fmt.Errorf("chunk index out of range")
// cache
ErrorNotFound = fmt.Errorf("not found")
ErrorValueExpire = fmt.Errorf("value expire")
// slot
ErrorSlotDelete = fmt.Errorf("")
ErrorSlotCapacityExceed = fmt.Errorf("capacity full")
ErrorSlotStackEmpty = fmt.Errorf("")
// ring
ErrorRingDelete = fmt.Errorf("")
)