vike
Version:
(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.
14 lines (13 loc) • 592 B
TypeScript
export { handleErrorWithoutErrorPage };
import type { GlobalContextServerInternal } from '../globalContext.js';
import type { PageContextCreatedServer } from './createPageContextServer.js';
import '../../assertEnvServer.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;
};