silverwolf-x's picture
download
raw
813 Bytes
export class PageSignatureError extends Error {
constructor({ page }: { page: string }) {
super(`The middleware "${page}" accepts an async API directly with the form:
export function middleware(request, event) {
return NextResponse.redirect('/new-location')
}
Read more: https://nextjs.org/docs/messages/middleware-new-signature
`)
}
}
export class RemovedPageError extends Error {
constructor() {
super(`The request.page has been deprecated in favour of \`URLPattern\`.
Read more: https://nextjs.org/docs/messages/middleware-request-page
`)
}
}
export class RemovedUAError extends Error {
constructor() {
super(`The request.ua has been removed in favour of \`userAgent\` function.
Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
`)
}
}

Xet Storage Details

Size:
813 Bytes
·
Xet hash:
b840116384fb16a28604faa49f3941c79aa770404566ac7122a736ec30febff6

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