leaf-library-3/internal/errs/model.go

13 lines
391 B
Go
Raw Normal View History

2024-12-06 15:38:22 +00:00
package errs
2024-12-05 17:44:29 +00:00
import "errors"
var (
2024-12-06 18:44:32 +00:00
ErrPageNotFound = errors.New("page not found")
ErrNotFound = errors.New("not found")
ErrNoPermission = errors.New("no permission")
ErrDocumentNotExists = errors.New("document not exists")
ErrInvalidParentDocument = errors.New("invalid parent document")
2024-12-06 19:05:33 +00:00
ErrBlockNotExists = errors.New("block not exists")
2024-12-05 17:44:29 +00:00
)