in packages/react/react-application/src/index.tsx [202:210]
private getError() {
const { error } = this.props;
if (error === false) {
return null;
} else if (error && React.isValidElement(error)) {
return error;
}
return this.state.error && <ErrorPanel error={this.state.error} />;
}