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

Function MyErrorComponent

packages/solid-router/tests/errorComponent.test.tsx:16–18  ·  view source on GitHub ↗
(props: ErrorComponentProps)

Source from the content-addressed store, hash-verified

14import type { ErrorComponentProps } from '../src'
15
16function MyErrorComponent(props: ErrorComponentProps) {
17 return <div>Error: {props.error.message}</div>
18}
19
20async function asyncToThrowFn() {
21 await new Promise((resolve) => setTimeout(resolve, 500))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected