import React from 'react'; import PropTypes from 'prop-types'; /** * Unexpected Error page / block */ export default class ErrorDetails extends React.Component { static contextTypes = { route: PropTypes.object.isRequired, language: PropTypes.object.isRequired }; static propTypes = { error: PropTypes.object.isRequired }; /** * Render the Page * @return {React.Component} The page contents */ render() { let content = null; let error = this.props.error; let ed = error.details; if (ed) { content =
Create an issue on Github {' if this keeps happening. Add these details:'}
Browser: {window.navigator.userAgent}
Path: {this.context.route.canonicalPath}
Error: {error.type || 'Unknown'}
Details:
{typeof ed == 'object' ? Object.keys(ed).map((e) => `${e}: ${ed[e]}\n`) : ed}
; } const importerror = ed && ed.scriptUrl && ed.scriptUrl.indexOf('/import') != -1; return

Jameson, we have a problem..

{error.message}


{importerror ?
If you are attempting to import a ship from EDDI or EDMC and are seeing a 'Z_BUF_ERROR' it means that the URL has not been provided correctly. This is a common problem when using Microsoft Internet Explorer or Microsoft Edge, and you should use another browser instead.
: null }
Please note that this site uses Google Analytics to track performance and usage. If you are blocking cookies, for example using Ghostery, please disable blocking for this site and try again.

{content}
; } }