(props: Props)
| 14 | */ |
| 15 | export default class ErrorBoundary extends Component<Props, State> { |
| 16 | constructor(props: Props) { |
| 17 | super(props); |
| 18 | this.state = { error: null }; |
| 19 | } |
| 20 | |
| 21 | static getDerivedStateFromError(error: Error): State { |
| 22 | return { error }; |
nothing calls this directly
no outgoing calls
no test coverage detected