LayerWidgetErrorBoundary
Extends
Component<React.PropsWithChildren<LayerWidgetProps>, {error:boolean; }>
Constructors
Constructor
new LayerWidgetErrorBoundary(props): LayerWidgetErrorBoundary;
Parameters
| Parameter | Type |
|---|---|
props | LayerWidgetProps |
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
| Parameter | Type |
|---|---|
error | Error |
errorInfo | ErrorInfo |
Returns
void
Overrides
React.Component.componentDidCatch
render()
render(): Element;
Returns
Element
Overrides
React.Component.render