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")
|
2024-09-17 13:45:43 +00:00
|
|
|
var ErrEntryAlreadyExists = errors.New("entry already exists")
|
|
|
|
var ErrNothingToChange = errors.New("nothing to change")
|
2024-10-15 18:41:23 +00:00
|
|
|
var ErrInvalidData = errors.New("invalid data")
|
2024-11-07 09:45:02 +00:00
|
|
|
var ErrNotAllowed = errors.New("action not allowed")
|