Skip to main content

LayerWidgetErrorBoundary

Extends

Constructors

Constructor

new LayerWidgetErrorBoundary(props): LayerWidgetErrorBoundary;

Parameters

ParameterType
propsLayerWidgetProps

Returns

LayerWidgetErrorBoundary

Overrides

React.Component<
React.PropsWithChildren<LayerWidgetProps>,
{ error: boolean }
>.constructor

Accessors

notificationStore

Methods

componentDidCatch()

componentDidCatch(error, errorInfo): void;

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

Parameters

ParameterType
errorError
errorInfoErrorInfo

Returns

void

Overrides

React.Component.componentDidCatch

render()

render(): Element;

Returns

Element

Overrides

React.Component.render