mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
Improve database not found error message
This commit is contained in:
parent
51a47067bb
commit
b90042a16a
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue