safing-portbase/database/errors.go
2020-05-22 22:33:12 +02:00

14 lines
388 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")
)