ls-deno/routes/_500.tsx

6 lines
184 B
TypeScript
Raw Normal View History

2022-09-27 14:41:17 -05:00
import { ErrorPageProps } from "$fresh/server.ts";
export default function Error500Page({ error }: ErrorPageProps) {
return <p>500 internal error: {(error as Error).message}</p>;
}