feat: support custom error pages (#86)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { ErrorPageProps, h } from "../deps.ts";
|
||||
|
||||
export default function Error500Page({ error }: ErrorPageProps) {
|
||||
return <p>500 internal error: {(error as Error).message}</p>;
|
||||
}
|
||||
Reference in New Issue
Block a user