@uservane/vercel-ai: UserVaneErrorBoundary
Class: UserVaneErrorBoundary
Section titled “Class: 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).
Extends
Section titled “Extends”Component<Props,State>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new UserVaneErrorBoundary(
props):UserVaneErrorBoundary
Defined in: node_modules/.pnpm/@types+react@18.3.31/node_modules/@types/react/index.d.ts:1016
Parameters
Section titled “Parameters”Props
Returns
Section titled “Returns”UserVaneErrorBoundary
Inherited from
Section titled “Inherited from”Component<Props, State>.constructor
Constructor
Section titled “Constructor”new UserVaneErrorBoundary(
props,context):UserVaneErrorBoundary
Defined in: node_modules/.pnpm/@types+react@18.3.31/node_modules/@types/react/index.d.ts:1021
Parameters
Section titled “Parameters”Props
context
Section titled “context”any
Returns
Section titled “Returns”UserVaneErrorBoundary
Deprecated
Section titled “Deprecated”Inherited from
Section titled “Inherited from”Component<Props, State>.constructor
Properties
Section titled “Properties”state:
State
Defined in: products/uservane/agent-react/dist/index.d.ts:36
Overrides
Section titled “Overrides”Component.state
Methods
Section titled “Methods”componentDidCatch()
Section titled “componentDidCatch()”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.
Parameters
Section titled “Parameters”Error
ErrorInfo
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”Component.componentDidCatch
render()
Section titled “render()”render():
ReactNode
Defined in: products/uservane/agent-react/dist/index.d.ts:39
Returns
Section titled “Returns”ReactNode
Overrides
Section titled “Overrides”Component.render
getDerivedStateFromError()
Section titled “getDerivedStateFromError()”
staticgetDerivedStateFromError():State
Defined in: products/uservane/agent-react/dist/index.d.ts:37
Returns
Section titled “Returns”State