UNPKG

next

Version:

The React Framework

20 lines (19 loc) • 801 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "UnmatchedAppPagesError", { enumerable: true, get: function() { return UnmatchedAppPagesError; } }); class UnmatchedAppPagesError extends Error { constructor(pagePaths){ const formattedPagePaths = pagePaths.map((pagePath)=>`- ${pagePath}`).join('\n'); super(`The following page files do not match any complete route:\n${formattedPagePaths}\n\nEvery page must be part of at least one complete route. Add matching pages or default files for the sibling parallel route slots, or remove the unreachable pages.`); this.name = 'UnmatchedAppPagesError'; this.stack = undefined; } } //# sourceMappingURL=unmatched-app-pages-error.js.map