silverwolf-x/project / packages /next /src /shared /lib /errors /missing-default-parallel-route-error.ts
silverwolf-x's picture
download
raw
637 Bytes
import { UsageError } from './usage-error'
export class MissingDefaultParallelRouteError extends UsageError {
constructor(fullSegmentPath: string, slotName: string) {
super(
`Missing required default.js file for parallel route at ${fullSegmentPath}\n` +
`The parallel route slot "${slotName}" is missing a default.js file. When using parallel routes, each slot must have a default.js file to serve as a fallback.\n\n` +
`Create a default.js file at: ${fullSegmentPath}/default.js`,
'https://nextjs.org/docs/messages/slot-missing-default'
)
this.name = 'MissingDefaultParallelRouteError'
}
}

Xet Storage Details

Size:
637 Bytes
·
Xet hash:
09ff07e3d541cdc8362ffe69f728ec500a7c72bc8e321951d11f4dc0828c2310

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.