import { Handlers, PageProps } from "$fresh/server.ts"; export const handler: Handlers = { GET(req, ctx) { return ctx.render(ctx.state.flag); }, }; export default function Home(props: PageProps) { if (props.data) { throw Error("i'm erroring on purpose"); } return
this won't get shown
; }