safing-portbase/database/errors.go
2020-04-10 10:42:01 +02:00

14 lines
397 B
Go

package database
import (
"errors"
)
// Errors
var (
ErrNotFound = errors.New("database entry could not be found")
ErrPermissionDenied = errors.New("access to database record denied")
ErrReadOnly = errors.New("database is read only")
ErrShuttingDown = errors.New("database system is shutting down")
ErrNotImplemented = errors.New("not implemented by this storage")
)