Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getStaticContextFromError

Given an existing StaticHandlerContext and an error thrown at render time, provide an updated StaticHandlerContext suitable for a second SSR render

function getStaticContextFromError(
error: any,
): StaticHandlerContext;
§
getStaticContextFromError(routes: AgnosticDataRouteObject[], context: StaticHandlerContext, error: any): StaticHandlerContext
[src]