改进缓存相关错误提示

This commit is contained in:
GoEdgeLab
2023-07-26 19:12:02 +08:00
parent 42e6f848e3
commit 20572ffd49

View File

@@ -7,7 +7,7 @@ import "errors"
// 常用的几个错误
var (
ErrNotFound = errors.New("cache not found")
ErrFileIsWriting = errors.New("the file is writing")
ErrFileIsWriting = errors.New("the cache file is updating")
ErrInvalidRange = errors.New("invalid range")
ErrEntityTooLarge = errors.New("entity too large")
ErrWritingUnavailable = errors.New("writing unavailable")