Table of contents

Extends React.Component<React.PropsWithRef<React.PropsWithChildren<TLErrorBoundaryProps>>, { error: Error | null; }>.

class ErrorBoundary extends React.Component<
  React.PropsWithRef<React.PropsWithChildren<TLErrorBoundaryProps>>,
  {
    error: Error | null
  }
> {}

Properties

error

error: Error | null

state

state: {
  error: null
}

Methods

getDerivedStateFromError()

static getDerivedStateFromError(error: Error): {
  error: Error
}
Parameters
NameDescription

error

Error
Returns
{
  error: Error
}

componentDidCatch()

componentDidCatch(error: unknown): void
Parameters
NameDescription

error

unknown
Returns
void

render()

render():
  | boolean
  | import('react/jsx-runtime').JSX.Element
  | Iterable<React.ReactNode>
  | null
  | number
  | string
  | undefined

EnvironmentManagerGeometry2d