Skip to content

Interface: PlayErrorBoundaryProps

Documentation / @xmachines/play-react / PlayErrorBoundaryProps

Defined in: packages/play-react/src/PlayErrorBoundary.tsx:14

Props for PlayErrorBoundary

Properties

PropertyTypeDescriptionDefined in
childrenReactNodeChild components to renderpackages/play-react/src/PlayErrorBoundary.tsx:18
fallback?ReactNodeFallback UI to render when a child component throws. Defaults to null.packages/play-react/src/PlayErrorBoundary.tsx:16
onError?(error, info) => voidOptional error handler callback — forwards errors to observability tools (Sentry, etc.)packages/play-react/src/PlayErrorBoundary.tsx:20