import { ErrorHandler, PageProps } from "../../../server.ts"; export const handler: ErrorHandler = (_req, ctx) => { return ctx.render(); }; export default function Error500Page({ error }: PageProps) { return

Custom 500: {(error as Error).message}

; }