linstrom/storage/errors.go

14 lines
317 B
Go
Raw Normal View History

2024-08-28 15:20:38 +00:00
package storage
2024-09-12 14:57:53 +00:00
import "errors"
2024-08-28 15:20:38 +00:00
2024-09-12 14:57:53 +00:00
type ErrNotImplemented struct{}
func (n ErrNotImplemented) Error() string {
2024-08-28 15:20:38 +00:00
return "Not implemented yet"
}
2024-09-12 14:57:53 +00:00
var ErrEntryNotFound = errors.New("entry not found")
var ErrEntryAlreadyExists = errors.New("entry already exists")
var ErrNothingToChange = errors.New("nothing to change")