Skip to content

@uservane/vercel-ai: UserVaneErrorBoundary

Defined in: products/uservane/agent-react/dist/index.d.ts:35

Internal error boundary for the agent-native React surface. A render throw inside InlineFeedback / provider subtree must never reach the host chat tree (design section 3 render + section 9).

  • Component<Props, State>

new UserVaneErrorBoundary(props): UserVaneErrorBoundary

Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/react/index.d.ts:1016

Props

UserVaneErrorBoundary

Component<Props, State>.constructor

new UserVaneErrorBoundary(props, context): UserVaneErrorBoundary

Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/react/index.d.ts:1021

Props

any

UserVaneErrorBoundary

React Docs

Component<Props, State>.constructor

state: State

Defined in: products/uservane/agent-react/dist/index.d.ts:36

Component.state

componentDidCatch(error, info): void

Defined in: products/uservane/agent-react/dist/index.d.ts:38

Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

Error

ErrorInfo

void

Component.componentDidCatch


render(): ReactNode

Defined in: products/uservane/agent-react/dist/index.d.ts:39

ReactNode

Component.render


static getDerivedStateFromError(): State

Defined in: products/uservane/agent-react/dist/index.d.ts:37

State