import React, {PureComponent, PropTypes} from 'react'; import Link from '../base/link'; import {showModal} from '../modals/index'; import SettingsModal from '../modals/settings-modal'; import {STATUS_CODE_RENDER_FAILED} from '../../../common/constants'; class ResponseError extends PureComponent { render () { const {error, statusCode, fontSize} = this.props; let msg = null; if (statusCode === STATUS_CODE_RENDER_FAILED) { msg = ( Template Documentation ); } else if (error && error.toLowerCase().indexOf('certificate') !== -1) { msg = ( ); } else if (error && error.toLowerCase().indexOf('getaddrinfo') !== -1) { msg = ( ); } else { msg = ( Documentation ); } return (
{error}
Here are some additional things that may help.
{msg} Contact Support