safing-portbase/database/errors.go
2022-02-01 13:12:46 +01:00

14 lines
389 B
Go

package database
import (
"errors"
)
// Errors.
var (
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")
ErrNotImplemented = errors.New("not implemented by this storage")
)