mirror of
https://github.com/safing/portbase
synced 2025-09-04 03:29:59 +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
|
// Errors
|
||||||
var (
|
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")
|
ErrPermissionDenied = errors.New("access to database record denied")
|
||||||
ErrReadOnly = errors.New("database is read only")
|
ErrReadOnly = errors.New("database is read only")
|
||||||
ErrShuttingDown = errors.New("database system is shutting down")
|
ErrShuttingDown = errors.New("database system is shutting down")
|
||||||
|
|
|
@ -4,5 +4,5 @@ import "errors"
|
||||||
|
|
||||||
// Errors for storages
|
// Errors for storages
|
||||||
var (
|
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