We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88e4f2e commit 03d03eaCopy full SHA for 03d03ea
session/errors.go
@@ -0,0 +1,9 @@
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
+)
session/kvdb_store.go
@@ -49,10 +49,6 @@ var (
49
// IDs associated with the given group ID.
50
sessionIDKey = []byte("session-id")
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
// ErrDBInitErr is returned when a bucket that we expect to have been
57
// set up during DB initialisation is not found.
58
ErrDBInitErr = errors.New("db did not initialise properly")
0 commit comments