// ErrorCode: https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h const React = require('react'); const {Grid, Row, Col} = require('react-bootstrap'); const errorPage = { tableStyle: { display: 'table', width: '100%', height: '100%', position: 'absolute', top: '0', left: '0' }, cellStyle: { display: 'table-cell', verticalAlign: 'top', paddingTop: '2em' }, bullets: { paddingLeft: '15px', lineHeight: '1.7' }, techInfo: { fontSize: '12px', color: '#aaa' } }; class ErrorView extends React.Component { render() { return (

{'Cannot connect to Mattermost'}


{'We\'re having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work please verify that:'}



{this.props.errorInfo.errorDescription}{' ('} {this.props.errorInfo.errorCode }{')'}
); } } ErrorView.propTypes = { errorInfo: React.PropTypes.object, id: React.PropTypes.number, style: React.PropTypes.object }; module.exports = ErrorView;