You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b921763
Browse filesBrowse the repository at this point in the historyBrowse files
if(!page)return{error: "page-not-found",slug: String(args?.slug??""),hint: "use choro_module_map to list slugs"};
1217
-
if(page.error)returnpage;
1219
+
if(!page){
1220
+
thrownewError(`Page ${JSON.stringify(args?.slug??"")} was not found. Use choro_module_map to list page slugs.`);
1221
+
}
1222
+
if(page.error==="page-missing"){
1223
+
thrownewError(`Page ${JSON.stringify(page.slug)} is missing from disk (${page.relPath}). Check the local checkout or run \`dsh-mneme-choro <repo> --apply\` to rebuild it.`);
1224
+
}
1225
+
if(page.error){
1226
+
thrownewError(`Page ${JSON.stringify(page.slug)} could not be read (${page.relPath}). Check the local file and its permissions.`);
if(!page)return{error: "page-not-found",slug: String(args?.slug??""),hint: "use choro_module_map to list slugs"};
1217
-
if(page.error)returnpage;
1219
+
if(!page){
1220
+
thrownewError(`Page ${JSON.stringify(args?.slug??"")} was not found. Use choro_module_map to list page slugs.`);
1221
+
}
1222
+
if(page.error==="page-missing"){
1223
+
thrownewError(`Page ${JSON.stringify(page.slug)} is missing from disk (${page.relPath}). Check the local checkout or run \`dsh-mneme-choro <repo> --apply\` to rebuild it.`);
1224
+
}
1225
+
if(page.error){
1226
+
thrownewError(`Page ${JSON.stringify(page.slug)} could not be read (${page.relPath}). Check the local file and its permissions.`);
0 commit comments