Interface: IErrorPage<IncomingEventType, OutgoingResponseType>
Interface: IErrorPage<IncomingEventType, OutgoingResponseType>
Represents an error page.
Type Parameters
IncomingEventType
IncomingEventType extends ReactIncomingEvent
The type representing the incoming event.
OutgoingResponseType
OutgoingResponseType = unknown
The type representing the outgoing response.
Properties
handle?
optional handle: FunctionalErrorHandler<IncomingEventType, OutgoingResponseType>;
head()?
optional head: (context) => Promiseable<HeadContext>;
Parameters
context
ErrorPageHeadContext<any, any>
Returns
Promiseable<HeadContext>
render()
render: (context) => ReactNode;
Parameters
context
ErrorPageRenderContext<any, any>
Returns
ReactNode
