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

Function PostErrorComponent

examples/solid/basic-non-nested-devtools/src/main.tsx:109–115  ·  view source on GitHub ↗
({ error }: ErrorComponentProps)

Source from the content-addressed store, hash-verified

107})
108
109function PostErrorComponent({ error }: ErrorComponentProps) {
110 if (error instanceof NotFoundError) {
111 return <div>{error.message}</div>
112 }
113
114 return <ErrorComponent error={error} />
115}
116
117function PostComponent() {
118 const post = postRoute.useLoaderData()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected