MCPcopy Create free account
hub / github.com/TanStack/router / PostErrorComponent

Function PostErrorComponent

e2e/solid-router/basic/src/main.tsx:129–135  ·  view source on GitHub ↗
({ error }: ErrorComponentProps)

Source from the content-addressed store, hash-verified

127}
128
129function PostErrorComponent({ error }: ErrorComponentProps) {
130 if (error instanceof NotFoundError) {
131 return <div>{error.message}</div>
132 }
133
134 return <ErrorComponent error={error} />
135}
136
137const postRoute = createRoute({
138 getParentRoute: () => postsRoute,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected