(props)
| 78 | |
| 79 | class ErrorBoundary extends Component<{children: ReactNode}, {error: string | null}> { |
| 80 | constructor(props) { |
| 81 | super(props); |
| 82 | this.state = {error: null}; |
| 83 | } |
| 84 | |
| 85 | static getDerivedStateFromError(e: Error) { |
| 86 | return {error: e.message}; |
nothing calls this directly
no outgoing calls
no test coverage detected