mirror of
https://github.com/nalgeon/redka.git
synced 2025-12-24 12:38:00 +08:00
refactor: change ErrNotFound value
This commit is contained in:
@@ -23,7 +23,7 @@ const InitialVersion = 1
|
||||
|
||||
// Common errors returned by data structure methods.
|
||||
var (
|
||||
ErrNotFound = errors.New("key not found")
|
||||
ErrNotFound = errors.New("key or elem not found")
|
||||
ErrValueType = errors.New("invalid value type")
|
||||
ErrNotAllowed = errors.New("operation not allowed")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user