Improve database not found error message

This commit is contained in:
Daniel 2020-05-22 22:33:01 +02:00
parent 51a47067bb
commit b90042a16a
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ import (
// Errors
var (
ErrNotFound = errors.New("database entry could not be found")
ErrNotFound = errors.New("database entry not found")
ErrPermissionDenied = errors.New("access to database record denied")
ErrReadOnly = errors.New("database is read only")
ErrShuttingDown = errors.New("database system is shutting down")

View file

@ -4,5 +4,5 @@ import "errors"
// Errors for storages
var (
ErrNotFound = errors.New("storage entry could not be found")
ErrNotFound = errors.New("storage entry not found")
)