13 lines
391 B
Go
13 lines
391 B
Go
package errs
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
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")
|
|
ErrBlockNotExists = errors.New("block not exists")
|
|
)
|