import { AccessibleIcon, css, Grid, Link, Text, theme, buttonStyle, } from "@webstudio-is/design-system"; import { WebstudioIcon } from "@webstudio-is/icons"; const pageStyle = css({ position: "fixed", justifyItems: "center", alignContent: "start", inset: 0, background: theme.colors.brandBackgroundDashboard, paddingTop: "10vh", // prevent global root styles override error color color: theme.colors.black, }); export const ErrorMessage = ({ error, }: { error: { status: number; statusText?: string; message: string; description?: string; }; }) => { return (
{error.status} {error.message ?? error.statusText} {error.description && ( {error.description} )} Go Home ); };