linstrom/storage/errors.go

13 lines
317 B
Go

package storage
import "errors"
type ErrNotImplemented struct{}
func (n ErrNotImplemented) Error() string {
return "Not implemented yet"
}
var ErrEntryNotFound = errors.New("entry not found")
var ErrEntryAlreadyExists = errors.New("entry already exists")
var ErrNothingToChange = errors.New("nothing to change")