fix: prevent empty page content
This commit is contained in:
1 parent
518602b0d4
commit
1d8f1f50e1
2 files changed
+13
No files matched your search
@@ -125,6 +125,10 @@ module.exports = {
|
||||
message: 'Cannot create this page because an entry already exists at the same path.',
|
||||
code: 6002
|
||||
}),
|
||||
PageEmptyContent: CustomError('PageEmptyContent', {
|
||||
message: 'Page content cannot be empty.',
|
||||
code: 6004
|
||||
}),
|
||||
PageNotFound: CustomError('PageNotFound', {
|
||||
message: 'This page does not exist.',
|
||||
code: 6003
|
||||
|
||||
Reference in new issue
Block a user