import React from "react";
import { Button, Card, Flex, Image, Typography } from "antd";
import example from "../images/console-error-edge.png";
import PageLayout from "./PageLayout";
import type { ErrorProps } from "./App";
const { Paragraph } = Typography;
function SupportLinkCard(props:{
name: string,
href: string,
image: string,
}) {
return ;
}
export default function ErrorPage(props: ErrorProps & { throw?: boolean }) {
if (props.throw) {
throw props.error;
}
return
An Unexpected Error Occurred
{props.error.message}
Further details can found by saving the console log in dev tools
(F12, "Console", "Save as", see example below).
If this is an issue with a plugin then please report it to the plugin creator;
otherwise, please reach out to the Clusterio team via Github or Discord.
;
};