MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / CustomErrorComponent

Function CustomErrorComponent

pages/_error.tsx:5–7  ·  view source on GitHub ↗
(props: { statusCode: number })

Source from the content-addressed store, hash-verified

3import type { NextPageContext } from "next";
4
5const CustomErrorComponent = (props: { statusCode: number }) => {
6 return <Error statusCode={props.statusCode} />;
7};
8
9CustomErrorComponent.getInitialProps = async (
10 contextData: NextPageContext & {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected