silverwolf-x/project / packages /next /src /client /components /static-generation-bailout.ts
silverwolf-x's picture
download
raw
403 Bytes
const NEXT_STATIC_GEN_BAILOUT = 'NEXT_STATIC_GEN_BAILOUT'
export class StaticGenBailoutError extends Error {
public readonly code = NEXT_STATIC_GEN_BAILOUT
}
export function isStaticGenBailoutError(
error: unknown
): error is StaticGenBailoutError {
if (typeof error !== 'object' || error === null || !('code' in error)) {
return false
}
return error.code === NEXT_STATIC_GEN_BAILOUT
}

Xet Storage Details

Size:
403 Bytes
·
Xet hash:
d019cea04e83fbe8d7f6556340ac93a450955caa59782f56333f29075bfa6224

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