@sqlrooms/mosaic / DashboardPanelErrorBoundary
Class: DashboardPanelErrorBoundary
Extends
Component<Props,State>
Constructors
Constructor
new DashboardPanelErrorBoundary(
props):DashboardPanelErrorBoundary
Parameters
| Parameter | Type |
|---|---|
props | Props |
Returns
DashboardPanelErrorBoundary
Overrides
Component<Props, State>.constructor
Methods
getDerivedStateFromError()
staticgetDerivedStateFromError(error):State
Parameters
| Parameter | Type |
|---|---|
error | Error |
Returns
State
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
Component.componentDidCatch
render()
render():
string|number|bigint|boolean|Iterable<ReactNode,any,any> |Promise<AwaitedReactNode> |Element|null|undefined
Returns
string | number | bigint | boolean | Iterable<ReactNode, any, any> | Promise<AwaitedReactNode> | Element | null | undefined
Overrides
Component.render
