UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

14 lines (13 loc) 592 B
import '../../assertEnvServer.js'; export { handleErrorWithoutErrorPage }; import type { GlobalContextServerInternal } from '../globalContext.js'; import type { PageContextCreatedServer } from './createPageContextServer.js'; declare function handleErrorWithoutErrorPage<PageContext extends PageContextCreatedServer & { errorWhileRendering: null | Error; is404: null | boolean; pageId: null; _globalContext: GlobalContextServerInternal; urlOriginal: string; }>(pageContext: PageContext): PageContext & { httpResponse: import("./createHttpResponse.js").HttpResponse; };