Skip to content

Interface: PlayErrorBoundaryProps

API / @xmachines/play-react / PlayErrorBoundaryProps

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

The props of PlayErrorBoundary

Properties

PropertyTypeDescriptionDefined in
childrenReactNodeThe child components to renderpackages/play-react/src/PlayErrorBoundary.tsx:18
fallback?ReactNodeThe fallback UI to render when a child component throws. The default is null.packages/play-react/src/PlayErrorBoundary.tsx:16
onError?(error, info) => voidThe optional error handler. It sends each error to an observability tool, such as Sentrypackages/play-react/src/PlayErrorBoundary.tsx:20