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 4949 // IDs associated with the given group ID.
5050 sessionIDKey = []byte ("session-id" )
5151
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-
5652 // ErrDBInitErr is returned when a bucket that we expect to have been
5753 // set up during DB initialisation is not found.
5854 ErrDBInitErr = errors .New ("db did not initialise properly" )
You can’t perform that action at this time.
0 commit comments