-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
16 lines (14 loc) · 759 Bytes
/
errors.go
File metadata and controls
16 lines (14 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cachegrid
import "errors"
var (
ErrNotFound = errors.New("cachegrid: key not found")
ErrExpired = errors.New("cachegrid: key expired")
ErrKeyEmpty = errors.New("cachegrid: key must not be empty")
ErrSerializationFailed = errors.New("cachegrid: serialization failed")
ErrShutdown = errors.New("cachegrid: cache is shut down")
ErrNodeNotFound = errors.New("cachegrid: node not found in cluster")
ErrRemoteCall = errors.New("cachegrid: remote call failed")
ErrLockNotAcquired = errors.New("cachegrid: lock could not be acquired")
ErrLockNotHeld = errors.New("cachegrid: lock not held or expired")
ErrRateLimited = errors.New("cachegrid: rate limit exceeded")
)