fix: Improve error handling for malformed records in SQLite storage

This commit is contained in:
Alexandr Stelnykovych
2025-09-03 12:44:43 +03:00
parent ce52869945
commit c14eb43605
3 changed files with 9 additions and 8 deletions

View File

@@ -4,5 +4,6 @@ import "errors"
// Errors for storages.
var (
ErrNotFound = errors.New("storage entry not found")
ErrNotFound = errors.New("storage entry not found")
ErrRecordMalformed = errors.New("record is malformed")
)