File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change
1
+ package session
2
+
3
+ import "errors"
4
+
5
+ var (
6
+ // ErrSessionNotFound is an error returned when we attempt to retrieve
7
+ // information about a session but it is not found.
8
+ ErrSessionNotFound = errors .New ("session not found" )
9
+ )
Original file line number Diff line number Diff line change 49
49
// IDs associated with the given group ID.
50
50
sessionIDKey = []byte ("session-id" )
51
51
52
- // ErrSessionNotFound is an error returned when we attempt to retrieve
53
- // information about a session but it is not found.
54
- ErrSessionNotFound = errors .New ("session not found" )
55
-
56
52
// ErrDBInitErr is returned when a bucket that we expect to have been
57
53
// set up during DB initialisation is not found.
58
54
ErrDBInitErr = errors .New ("db did not initialise properly" )
You can’t perform that action at this time.
0 commit comments