refactor: change ErrNotFound value

This commit is contained in:
Anton
2024-05-01 17:58:27 +05:00
parent c7eb7e7931
commit fc9070d238
2 changed files with 2 additions and 2 deletions

View File

@@ -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")
)

View File

@@ -28,7 +28,7 @@ const driverName = "sqlite3"
// Common errors returned by data structure methods.
var (
ErrNotFound = core.ErrNotFound // key not found
ErrNotFound = core.ErrNotFound // key or element not found
ErrValueType = core.ErrValueType // invalid value type
)